summaryrefslogtreecommitdiffstats
path: root/mplayer.c
Commit message (Collapse)AuthorAgeFilesLines
* Move ass_library initialization code to ass_mp.c.eugeni2006-10-291-8/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20518 b3059339-0415-0410-9bf9-f77b7e298cf2
* Always initialize and destroy ass_library.eugeni2006-10-291-3/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20499 b3059339-0415-0410-9bf9-f77b7e298cf2
* Always initialize libass to fix crashes caused by use without initialization.uau2006-10-291-1/+1
| | | | | | | | | | | | Library init was only done if ass_enabled was true at program startup. However there are at least 2 ways how MPlayer can later try to access the library even if ass_enabled is false at that point: - per-file options can turn on ass support later - if the embeddedfonts option is enabled and the file has fonts demux_mkv will call ass_process_font git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20498 b3059339-0415-0410-9bf9-f77b7e298cf2
* Libass interface reworked:eugeni2006-10-281-3/+24
| | | | | | | | | - ass_instance_t renamed to ass_renderer_t - ass_library_t introduced - use of mplayer-specific global variables limited to ass_mp.c git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20493 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not forget to clear subtitles when switching files for embedded subtitles.reimar2006-10-211-1/+1
| | | | | | | Fixes bug #409. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20347 b3059339-0415-0410-9bf9-f77b7e298cf2
* applied patch for -endpos, to work without a blit_frame, pointed out by ↵ptt2006-10-211-4/+5
| | | | | | Andrew Savchenko git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20329 b3059339-0415-0410-9bf9-f77b7e298cf2
* Disable loading of file-specific configuration file from the same rtogni2006-10-151-1/+2
| | | | | | | | directory as the played file. Add a command-line switch to enable it. Patch by reimar, manpage patch by me git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20257 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused ABS definereimar2006-10-141-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20213 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l, used MSGTR_Unknown instead of lang in mp_property_audioreimar2006-10-121-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20188 b3059339-0415-0410-9bf9-f77b7e298cf2
* simplify mp_property_subreimar2006-10-121-6/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20187 b3059339-0415-0410-9bf9-f77b7e298cf2
* Cosmetics for previous mplayer.c patchreimar2006-10-121-13/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20185 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simplify mp_property_audioreimar2006-10-121-12/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20184 b3059339-0415-0410-9bf9-f77b7e298cf2
* modifications pointed out by reimar doffingerptt2006-10-121-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20174 b3059339-0415-0410-9bf9-f77b7e298cf2
* added OSD audio switching visualizationptt2006-10-111-15/+69
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20162 b3059339-0415-0410-9bf9-f77b7e298cf2
* after a long time, finally i could add -endpos option to mplayer executable.ptt2006-09-251-3/+24
| | | | | | | | as oded told me on 1006 02 24, i applied it, blame me if some problem occurs, i hope not, since i tried it for a while.... git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19979 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix the sound mute switch in the GUI menu by moving the correspondingdiego2006-09-231-11/+10
| | | | | | | | piece of GUI code after audio initialization. patch by Stanislav Maslovski, stanislav.maslovski gmail com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19952 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix audio stream switching with demux_mkv:reimar2006-09-231-2/+2
| | | | | | | | return value of demuxer_switch_audio is new stream number for -aid, the index in a_streams array is in demuxer->audio->id instead. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19951 b3059339-0415-0410-9bf9-f77b7e298cf2
* when changing chapter, in the osd print the channel number in a more natural ↵nicodvb2006-09-231-1/+1
| | | | | | | | | form: 1-based (rather than 0-based) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19949 b3059339-0415-0410-9bf9-f77b7e298cf2
* show in the osd the number of the button selected by the mousenicodvb2006-09-191-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19916 b3059339-0415-0410-9bf9-f77b7e298cf2
* Іnitial button value is -1. Only (button>0) is a correct button selection.jonas2006-09-191-3/+3
| | | | | | | | Initialized "dvdnav_status_t status" explicitly for clarity. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19914 b3059339-0415-0410-9bf9-f77b7e298cf2
* report mouse coordinates after movement to dvdnav; this permits to enable ↵nicodvb2006-09-161-0/+7
| | | | | | button selection using the mouse; patch by Jonas Jermann and me git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19857 b3059339-0415-0410-9bf9-f77b7e298cf2
* report to mplayer with a slave command the coordinates of the pointer ↵nicodvb2006-09-161-0/+27
| | | | | | reported by x11; rescale coordinates to [0,1]x[0,1] range - patch by Jonas Jermann and me git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19856 b3059339-0415-0410-9bf9-f77b7e298cf2
* don't uninit the video_out when using -fixed-vo; patch by Jonas Jermannnicodvb2006-09-151-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19843 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add repeated screenshot mode to vf_screenshot.eugeni2006-09-151-1/+1
| | | | | | | It is triggered by "screenshot 1". git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19839 b3059339-0415-0410-9bf9-f77b7e298cf2
* * remove extern definitions of functions in .c filesattila2006-09-121-11/+4
| | | | | | | | | | | | | | | | | * create new .h files where necessary todo: * go trough other files than mplayer.c * vf_menu_pause_update() * mp_input_register_options() * import_playtree_playlist_into_gui() * import_initial_playtree_into_gui() For more infos see http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/2006-September/045683.html ( 20060902133225.2cc82aec.attila@kinali.ch on -dev-eng ) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19814 b3059339-0415-0410-9bf9-f77b7e298cf2
* in mp_dvdnav_handle_input() assign the currently selected button, shown in ↵nicodvb2006-09-091-2/+3
| | | | | | the OSD by main() git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19780 b3059339-0415-0410-9bf9-f77b7e298cf2
* first touch of support for dvdnav menus; the selection is based on the ↵nicodvb2006-09-091-0/+11
| | | | | | keyboard selection and is completely blind: there's not the slightest visual feedback git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19775 b3059339-0415-0410-9bf9-f77b7e298cf2
* unconditionally include label goto_enable_cache (to be used next by dvdnav)nicodvb2006-09-091-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19773 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix broken term_osd output in update_osd_msg()gpoirier2006-09-091-1/+1
| | | | | | | | | | | Patch by Andrew Savchenko Bircoph A list P ru Original thread: 03.09.2006 13:22 [MPlayer-dev-eng] [PACTH] mplayer.c: broken term_osd output in update_osd_msg() git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19766 b3059339-0415-0410-9bf9-f77b7e298cf2
* Disable rtc timing by default.uau2006-09-091-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19762 b3059339-0415-0410-9bf9-f77b7e298cf2
* Radio support, patch by Vladimir Voroshilov (voroshil gmail com)reimar2006-08-281-0/+32
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19574 b3059339-0415-0410-9bf9-f77b7e298cf2
* extended slave mode with metadata retrieval commandsben2006-08-261-0/+95
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19539 b3059339-0415-0410-9bf9-f77b7e298cf2
* added new helpers to allow easy metadata retrieval and make libmenu use themben2006-08-251-3/+160
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19538 b3059339-0415-0410-9bf9-f77b7e298cf2
* new option for libmenu that allow display of properties and metadata of ↵ben2006-08-251-0/+4
| | | | | | currently played stream git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19535 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add VFCTRL_DRAW_EOSD.eugeni2006-08-241-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19527 b3059339-0415-0410-9bf9-f77b7e298cf2
* added new filter option to menu file browser to only display some files ↵ben2006-08-221-0/+5
| | | | | | according to extension git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19497 b3059339-0415-0410-9bf9-f77b7e298cf2
* support for disabling/enabling bitmap font support from configurediego2006-08-211-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19491 b3059339-0415-0410-9bf9-f77b7e298cf2
* demuxer_seek_chapter() returns informations about chapters count and namenicodvb2006-08-211-3/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19484 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix null pointer check in add_subtitles,gpoirier2006-08-211-1/+1
| | | | | | | patch by Konstantin G. Khlebikov % koct9i A gmail P com % git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19474 b3059339-0415-0410-9bf9-f77b7e298cf2
* seek to chapter using newly introduced demux_seek_chapter()nicodvb2006-08-181-37/+18
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19442 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add subdata to ass_track conversion for external subtitles.eugeni2006-08-151-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19407 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix segfault if an unknown property is requestedivo2006-08-131-1/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19386 b3059339-0415-0410-9bf9-f77b7e298cf2
* Reintroduce an ugly variant of the -gui/-nogui options.reimar2006-08-081-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19361 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add matroska chapter seeking capability.eugeni2006-08-061-0/+44
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19348 b3059339-0415-0410-9bf9-f77b7e298cf2
* Don't crash if audio init fails.uau2006-08-051-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19343 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move ID_AUDIO_CODEC printing after codec init again (it didn't get printed ↵reimar2006-08-041-2/+2
| | | | | | | | | otherwise). Thanks to tomber71 in IRC for reporting the problem. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19320 b3059339-0415-0410-9bf9-f77b7e298cf2
* introduce new 'stream' directory for all stream layer related components and ↵ben2006-07-311-4/+4
| | | | | | split them from libmpdemux git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19277 b3059339-0415-0410-9bf9-f77b7e298cf2
* Set user_muted in mp_property_mute(). Fixes mute turning off whenuau2006-07-281-0/+2
| | | | | | | seeking. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19232 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: fix incorrect indentation left by reimar and extra word inuau2006-07-281-3/+3
| | | | | | | comment git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19221 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove code that prevented the OSD current time from going back by oneuau2006-07-281-2/+0
| | | | | | | | second from the previously shown value. If this was needed for something there should be a better way to do it. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19214 b3059339-0415-0410-9bf9-f77b7e298cf2
* demuxer might not set i_bps, so do not divide by it in that casereimar2006-07-261-0/+1
| | | | 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 reynaldo2006-07-161-2/+2
| | | | | | | | | 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 ↵reynaldo2006-07-151-3/+3
| | | | | | 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 ↵reynaldo2006-07-131-3/+3
| | | | | | 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 == typouau2006-07-121-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19022 b3059339-0415-0410-9bf9-f77b7e298cf2
* 1000000000l to whoever added c++ decl crap, probably uau..rfelker2006-07-101-1/+1
| | | | 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 hackishreimar2006-07-081-0/+2
| | | | | | | 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 containingreimar2006-07-081-8/+8
| | | | | | | | 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).eugeni2006-07-071-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18943 b3059339-0415-0410-9bf9-f77b7e298cf2
* Initial libass release (without mencoder support).eugeni2006-07-071-8/+97
| | | | 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.eugeni2006-07-071-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18939 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove windows-specific hack that interfered with relative pathreimar2006-07-071-2/+0
| | | | | | | 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.uau2006-07-061-2/+67
| | | | | | | | | | | | | | 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.vayne2006-07-061-0/+23
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18918 b3059339-0415-0410-9bf9-f77b7e298cf2
* Modifies behavior of -edloutreynaldo2006-07-051-1/+16
| | | | | | | | | | 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 probingnicodvb2006-07-041-1/+8
| | | | 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, ↵reynaldo2006-07-031-1/+1
| | | | | | stefan AT huehner-org git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18893 b3059339-0415-0410-9bf9-f77b7e298cf2
* more sizeof(char) funreynaldo2006-06-301-2/+2
| | | | 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 ↵ben2006-06-251-1/+1
| | | | | | (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 .")uau2006-06-211-5/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18782 b3059339-0415-0410-9bf9-f77b7e298cf2
* send flip_page() through the filter chainmichael2006-06-211-1/+5
| | | | | | | | 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 causeuau2006-06-161-9/+22
| | | | | | | | 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().uau2006-06-161-1/+1
| | | | | | |