aboutsummaryrefslogtreecommitdiffhomepage
path: root/mplayer.c
Commit message (Collapse)AuthorAge
* demuxer might not set i_bps, so do not divide by it in that caseGravatar reimar2006-07-26
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19188 b3059339-0415-0410-9bf9-f77b7e298cf2
* marks several strings inside structs as const when they hold just Gravatar reynaldo2006-07-16
| | | | | | | | | read-only information and modifies GetLanguage in Gui/mplayer/gtk/menu.c to cope which the changes. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19115 b3059339-0415-0410-9bf9-f77b7e298cf2
* marks several read-only string parameters which aren't modified inside the ↵Gravatar reynaldo2006-07-15
| | | | | | called function as const. Patch by Stefan Huehner, stefan AT huehner-org git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19109 b3059339-0415-0410-9bf9-f77b7e298cf2
* marks several string parameters as const, as they are not modified inside ↵Gravatar reynaldo2006-07-13
| | | | | | the function, Patch by Stefan Huehner, stefan AT huehner-org git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19058 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix = vs == typoGravatar uau2006-07-12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19022 b3059339-0415-0410-9bf9-f77b7e298cf2
* 1000000000l to whoever added c++ decl crap, probably uau..Gravatar rfelker2006-07-10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18988 b3059339-0415-0410-9bf9-f77b7e298cf2
* No point in checking for X for windows gui, in addition the hackishGravatar reimar2006-07-08
| | | | | | | way via vo_init breaks vo_gl and vo_gl2 WinID support git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18950 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change use_gui detection to accept also filenames only containingGravatar reimar2006-07-08
| | | | | | | | gmplayer, like "gmplayer.exe", "gmplayer_old" etc. Also removes (somewhat broken) WIN32 special-case git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18944 b3059339-0415-0410-9bf9-f77b7e298cf2
* Indentation fix (cosmetics).Gravatar eugeni2006-07-07
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18943 b3059339-0415-0410-9bf9-f77b7e298cf2
* Initial libass release (without mencoder support).Gravatar eugeni2006-07-07
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18942 b3059339-0415-0410-9bf9-f77b7e298cf2
* Rename mkv_sh_sub_t to sh_sub_t, move it to demuxer.h.Gravatar eugeni2006-07-07
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18939 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove windows-specific hack that interfered with relative pathGravatar reimar2006-07-07
| | | | | | | handling and should not be needed anymore git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18934 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add a new video pts tracking mode, enabled by option -correct-pts.Gravatar uau2006-07-06
| | | | | | | | | | | | | | This mode has the following differences: - Video timing is correct for streams with B frames, at least with some demuxers. - Video filters can modify frame timestamps and insert new frames, and removing frames is handled better than before. - Some things are known to break, it's not usable as the default yet. Things should work as before when the -correct-pts option is not used. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18922 b3059339-0415-0410-9bf9-f77b7e298cf2
* Initial win32 gui release.Gravatar vayne2006-07-06
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18918 b3059339-0415-0410-9bf9-f77b7e298cf2
* Modifies behavior of -edloutGravatar reynaldo2006-07-05
| | | | | | | | | | Now it creates a new file and writes edit decision list (EDL) records to it just as it did before but instead of making pas-2-seconds blocks for each 'i' keystroke lets the user hits 'i' to mark the start or end of a block. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18916 b3059339-0415-0410-9bf9-f77b7e298cf2
* support for audio streams that appear after unsuccessful probingGravatar nicodvb2006-07-04
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18902 b3059339-0415-0410-9bf9-f77b7e298cf2
* parse_cfgfiles as static in mplayer.c/mencoder.c, patch by Stefan Huehner, ↵Gravatar reynaldo2006-07-03
| | | | | | stefan AT huehner-org git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18893 b3059339-0415-0410-9bf9-f77b7e298cf2
* more sizeof(char) funGravatar reynaldo2006-06-30
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18861 b3059339-0415-0410-9bf9-f77b7e298cf2
* switch_ratio -1 slave command restores aspect ratio to default value ↵Gravatar ben2006-06-25
| | | | | | (geexbox patch) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18822 b3059339-0415-0410-9bf9-f77b7e298cf2
* Revert Michael's VFCTRL_FLIP_PAGE changes ("svn merge -r 18781:18779 .")Gravatar uau2006-06-21
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18782 b3059339-0415-0410-9bf9-f77b7e298cf2
* send flip_page() through the filter chainGravatar michael2006-06-21
| | | | | | | | ignoring the filter chain cannot and does not work with frame skip / insertion filters if this breaks something then just reverse it, ive not exhaustively tested it ... git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18780 b3059339-0415-0410-9bf9-f77b7e298cf2
* Rewrite audio EOF handling logic fixing some problems that could causeGravatar uau2006-06-16
| | | | | | | | truncation of output, set flag AOPLAY_FINAL_CHUNK in play call to tell ao there will be no more data beyond what's in current buffer. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18738 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix definition of reinit_audio_chain().Gravatar uau2006-06-16
| | | | | | | | | It had return type "int" even though it did not return a value (callers do not expect one) and used old-style syntax. Changed return type to "void" and added "void" as parameter list. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18736 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed old dvdnav codeGravatar nicodvb2006-06-16
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18735 b3059339-0415-0410-9bf9-f77b7e298cf2
* restored support for dvdnav only in the stream layer; all other ↵Gravatar nicodvb2006-06-14
| | | | | | functionalities are disabled git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18715 b3059339-0415-0410-9bf9-f77b7e298cf2
* When playing an audio only file use audio time instead of video time toGravatar uau2006-06-14
| | | | | | | | set EDL mark. Fixes a NULL pointer dereference. Problem noticed by Robert Henney, robh A rut org. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18714 b3059339-0415-0410-9bf9-f77b7e298cf2
* Clean up audio pts handling, make audio pts tracking in the audio-onlyGravatar uau2006-06-14
| | | | | | | case work the same as with video. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18713 b3059339-0415-0410-9bf9-f77b7e298cf2
* include stream_dvd's interface from libmpdemux/stream_dvd.hGravatar nicodvb2006-06-11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18685 b3059339-0415-0410-9bf9-f77b7e298cf2
* moved audio codec/filters/out to a separate function that is called both at ↵Gravatar nicodvb2006-06-11
| | | | | | init() and to switch audio stream git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18682 b3059339-0415-0410-9bf9-f77b7e298cf2
* Unconditionally compile Matroska demuxer - oops, part missed in initial commit.Gravatar diego2006-05-09
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18407 b3059339-0415-0410-9bf9-f77b7e298cf2
* Don't blit frame if we hit EOF and no new frame is read. Fixes pictureGravatar uau2006-05-05
| | | | | | | | | changing back to a previous frame after the last one with some vos. Patch by Timothy Lee, timothy (.) lee () siriushk com [location of the added line changed by me]. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18390 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove a useless variable.Gravatar uau2006-04-27
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18324 b3059339-0415-0410-9bf9-f77b7e298cf2
* spelling/grammar/wording fixes in doxygen and non-doxygen commentsGravatar diego2006-04-27
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18317 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove useless "#if 0" blocksGravatar uau2006-04-27
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18316 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make EDL compilation unconditionalGravatar uau2006-04-27
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18313 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change common pts variables from floats to doubles. Individual demuxersGravatar uau2006-04-27
| | | | | | | should be changed later. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18310 b3059339-0415-0410-9bf9-f77b7e298cf2
* The code setting the OSD seek direction indicator for absolute seeks wasGravatar uau2006-04-25
| | | | | | | | nonsense. Fix the to-timestamp case. I don't care enough to fix the to-percentage case so just add a comment noting it's broken. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18289 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove updating of vo_mouse_timer_const from the main loop and alsoGravatar uau2006-04-25
| | | | | | | | remove the variable itself. Convert code in x11_common.c and OSD timing that depended on the variable to use real time instead. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18288 b3059339-0415-0410-9bf9-f77b7e298cf2
* simplified management of dvb channel switchingGravatar nicodvb2006-04-25
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18287 b3059339-0415-0410-9bf9-f77b7e298cf2
* Doxygen attack! - Chapter 2Gravatar albeu2006-04-24
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18262 b3059339-0415-0410-9bf9-f77b7e298cf2
* 5 - Drop more buffered audio data left from old position when seeking.Gravatar rtognimp2006-04-24
| | | | | | | Patch by Uoti Urpala git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18244 b3059339-0415-0410-9bf9-f77b7e298cf2
* 4 - Implement a better way to calculate current audio pts and use it forGravatar rtognimp2006-04-24
| | | | | | | | | audio decoded with ad_libvorbis, ad_ffmpeg and ad_faad. Patch by Uoti Urpala git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18243 b3059339-0415-0410-9bf9-f77b7e298cf2
* 1 - Remove kernel HZ=100 assumptions that are no longer true fromGravatar rtognimp2006-04-24
| | | | | | | | | timing. Patch by Uoti Urpala git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18241 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get ride of the several if(identify) messy lines and rearangment of some of ↵Gravatar reynaldo2006-04-24
| | | | | | the output, both patches by Kiriuja mplayer-patches AT en-directo_net, his changes are barely unrelated, nevertheless Im commiting them thogeter just for the sake of my mental healt, I had both patches already applied on my local three git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18238 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove support for default.sub.Gravatar diego2006-04-23
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18233 b3059339-0415-0410-9bf9-f77b7e298cf2
* Kill an unused variable warning.Gravatar diego2006-04-23
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18232 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add properties to get/set the stream position and get the streamGravatar albeu2006-04-23
| | | | | | | start pos, end pos and length. Based on Reimar's patch. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18227 b3059339-0415-0410-9bf9-f77b7e298cf2
* Align osd_show_text with osd_show_property_text.Gravatar albeu2006-04-23
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18224 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add a new command: osd_show_property_text that show an expanded propertyGravatar albeu2006-04-23
| | | | | | | | string on the OSD. Based on a patch 'by someone named "veal" on irc' that showed the filename. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18223 b3059339-0415-0410-9bf9-f77b7e298cf2
* Handle the tv color control commands with the properties.Gravatar albeu2006-04-22
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18207 b3059339-0415-0410-9bf9-f77b7e298cf2