summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* stream_opts should be constreimar2008-01-1313-13/+13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25719 b3059339-0415-0410-9bf9-f77b7e298cf2
* stream_info_t opts and protocols point to constant data as well.reimar2008-01-131-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25718 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make all tvi_info_t constreimar2008-01-136-10/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25717 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make some tvi_functions_t pointers const that I forgot to change beforereimar2008-01-131-5/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25716 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove useless ifdefsreimar2008-01-131-8/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25715 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add type to extern declarationreimar2008-01-131-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25714 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make dvd_audio_stream_types and dvd_audio_stream_channels constreimar2008-01-131-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25713 b3059339-0415-0410-9bf9-f77b7e298cf2
* tvi_functions_t should be constreimar2008-01-132-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25712 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add forgotten const for pal_ireland.reimar2008-01-131-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25711 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove another 2 useless castsreimar2008-01-131-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25710 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get rid of another useless castreimar2008-01-131-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25709 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove a cast useless since r24425.reimar2008-01-131-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25708 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move variable declaration into block where it is used.reimar2008-01-131-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25707 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove result from warning string, it has no useful meaning here.reimar2008-01-131-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25706 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove a useless castreimar2008-01-131-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25705 b3059339-0415-0410-9bf9-f77b7e298cf2
* moved pes_header from file-static to send_mpeg_pes_packet_ll()nicodvb2008-01-131-2/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25704 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix bug in error message (found by Diego through a compiler warning)rik2008-01-131-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25703 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use a transform_color function to reduce code duplicationreimar2008-01-121-28/+14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25702 b3059339-0415-0410-9bf9-f77b7e298cf2
* Write functions used by send_mpeg_*_packet may _not_ modify datareimar2008-01-124-10/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25701 b3059339-0415-0410-9bf9-f77b7e298cf2
* ps1_header and ps2_header should be constreimar2008-01-121-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25700 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add a few "const" attributes.reimar2008-01-121-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25699 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused variablereimar2008-01-121-3/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25698 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move uselessly global variablesreimar2008-01-121-3/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25697 b3059339-0415-0410-9bf9-f77b7e298cf2
* Adjust list of colourspaces supported by vd_ijpgreimar2008-01-121-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25696 b3059339-0415-0410-9bf9-f77b7e298cf2
* Colourspace conversions do _not_ belong into a decoder!reimar2008-01-121-42/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25695 b3059339-0415-0410-9bf9-f77b7e298cf2
* Cosmetics: get rid of huge amounts of trailing whitespacereimar2008-01-121-13/+13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25694 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove an unused global variablereimar2008-01-121-3/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25693 b3059339-0415-0410-9bf9-f77b7e298cf2
* Avoid uselessly global variablesreimar2008-01-121-2/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25692 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100l, free strdup'd stringsreimar2008-01-121-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25691 b3059339-0415-0410-9bf9-f77b7e298cf2
* Builtin codecs array can now be constreimar2008-01-121-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25690 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace the persistent CODECS_FLAG_SELECTED by a local "stringset" withreimar2008-01-124-47/+49
| | | | | | | | | an almost-trivial implementation. This allows making the builtin codec structs const, and it also makes clearer that this "selected" status is not used outside the init functions. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25689 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not try to guess font metrics based on its bounding box.eugeni2008-01-121-8/+2
| | | | | | | | | It was originally a workaround for fonts with bad ascender/descender values, but it breaks display of some otherwise valid fonts (bugzilla 987), so reverted. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25688 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add libass support to demux_lavf.eugeni2008-01-121-2/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25687 b3059339-0415-0410-9bf9-f77b7e298cf2
* Instead of keeping attachments in mkv demuxer, use demuxer_add_attachment().eugeni2008-01-122-44/+14
| | | | | | | These attachments are passed to libass after demuxer is opened. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25686 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add demuxer interface for attachments.eugeni2008-01-122-0/+36
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25685 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove global_ass_track. Instead create an ass_track for each 't' track.eugeni2008-01-113-6/+6
| | | | | | | | Global_ass_track obviously can not work when there is more than one 't tracks, their lines will be mixed up. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25684 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move all subtitle parsing from mkv demuxer to update_subtitles().eugeni2008-01-112-30/+25
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25683 b3059339-0415-0410-9bf9-f77b7e298cf2
* Init and destroy ass_tracks in demuxer.c based on sh_sub->type value.eugeni2008-01-112-40/+19
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25682 b3059339-0415-0410-9bf9-f77b7e298cf2
* Set extradata for subtitle tracks in mkv demuxer.eugeni2008-01-111-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25681 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add extradata to sh_sub_t.eugeni2008-01-112-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25680 b3059339-0415-0410-9bf9-f77b7e298cf2
* Factorize private data decoding for subtitle tracks in mkv demuxer.eugeni2008-01-111-20/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25679 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make code slightly less confusing to mereimar2008-01-111-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25678 b3059339-0415-0410-9bf9-f77b7e298cf2
* Slightly deobfuscatereimar2008-01-111-2/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25677 b3059339-0415-0410-9bf9-f77b7e298cf2
* Another small simplification. Slightly worse performance in the casereimar2008-01-111-3/+3
| | | | | | | where a buffer underrun happens, but this really should not matter. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25676 b3059339-0415-0410-9bf9-f77b7e298cf2
* Slightly simplify read_buffer codereimar2008-01-111-6/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25675 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simplify: use memsetreimar2008-01-111-4/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25674 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix indentationreimar2008-01-111-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25673 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove useless castreimar2008-01-111-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25672 b3059339-0415-0410-9bf9-f77b7e298cf2
* document vo.* and ao.* playback profilesben2008-01-111-0/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25671 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix buffer overflow bug by calculate the buffer size accurately.ulion2008-01-111-3/+20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25670 b3059339-0415-0410-9bf9-f77b7e298cf2
* allow profile loading per audio/video outputben2008-01-101-0/+22
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25669 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add an extra check to avoid a case that cause black lines in scaledreimar2008-01-101-0/+2
| | | | | | | vobsubs due to an overflow in the multiplication. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25668 b3059339-0415-0410-9bf9-f77b7e298cf2
* Clear demuxed data when subtitle track is changed.eugeni2008-01-101-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25667 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use malloc for codecdata. Fixes segfault in free_sh_sub.eugeni2008-01-101-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25666 b3059339-0415-0410-9bf9-f77b7e298cf2
* updated english manpage with protocol/extension profile loading featureben2008-01-101-0/+19
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25665 b3059339-0415-0410-9bf9-f77b7e298cf2
* factorizes variable checkben2008-01-101-3/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25664 b3059339-0415-0410-9bf9-f77b7e298cf2
* add support for per protocol and per extension playback profile loadingben2008-01-102-0/+50
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25663 b3059339-0415-0410-9bf9-f77b7e298cf2
* export m_config_set_profile()ben2008-01-102-1/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25662 b3059339-0415-0410-9bf9-f77b7e298cf2
* allow generation of ctags and etagsben2008-01-101-2/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25661 b3059339-0415-0410-9bf9-f77b7e298cf2
* Deny the code using realpath().ulion2008-01-101-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25660 b3059339-0415-0410-9bf9-f77b7e298cf2
* sync w/r25657gpoirier2008-01-091-4/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25659 b3059339-0415-0410-9bf9-f77b7e298cf2
* Codecdata must always be malloc'd, fixes free being called with anreimar2008-01-091-2/+4
| | | | | | | invalid pointer when freeing codecdata. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25658 b3059339-0415-0410-9bf9-f77b7e298cf2
* dumpstream is NOT a better way to copy a dvd titlecompn2008-01-091-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25657 b3059339-0415-0410-9bf9-f77b7e298cf2
* dvd-device can specify iso files toocompn2008-01-091-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25656 b3059339-0415-0410-9bf9-f77b7e298cf2
* Set CONFIG_SWSCALER in order to avoid imgresampleuau2008-01-091-0/+2
| | | | | | | | | Set "CONFIG_SWSCALE=yes" in config.mak. This prevents building libavcodec/imgresample.o which has symbols that conflict with swscale ones. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25655 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unnecessary <signal.h> includesuau2008-01-097-7/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25654 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use getppid instead of getpid and move a snprintf to where it is actually ↵reimar2008-01-081-2/+2
| | | | | | needed. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25653 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simplify a needlessly complex use of snprintfreimar2008-01-081-2/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25652 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not use exit_player in the signal handler, this code just can notreimar2008-01-083-2/+10
| | | | | | | | | be called from a signal handler. Instead only make the input system generate quit commands for the first CTRL+C and otherwise do getch2_disable and exit. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25651 b3059339-0415-0410-9bf9-f77b7e298cf2
* Clear fonts when the file is closed.eugeni2008-01-081-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25650 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix ass_clear_fonts not deallocating fontdata.eugeni2008-01-081-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25649 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix illegal identifiers, names starting with __ are reserved for the system.diego2008-01-082-15/+15
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25648 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix illegal identifier, names starting with _ and uppercase are reserved.diego2008-01-072-44/+44
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25647 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix illegal identifier, names starting with _ and uppercase are reserved.diego2008-01-071-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25646 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix #endif comment, sync with libdvdcss r208.diego2008-01-072-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25645 b3059339-0415-0410-9bf9-f77b7e298cf2
* No need to reinvent strdup...eugeni2008-01-071-2/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25644 b3059339-0415-0410-9bf9-f77b7e298cf2
* sync with r25158, patch by JRaSHkraymer2008-01-071-32/+37
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25643 b3059339-0415-0410-9bf9-f77b7e298cf2
* Deallocate audio track codecdata.eugeni2008-01-071-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25642 b3059339-0415-0410-9bf9-f77b7e298cf2
* Copy font data to ass_library instead of referencing demuxer-owned memory.eugeni2008-01-072-3/+26
| | | | | | | This fixes segfault when fonts are accessed after demuxer has been closed. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25641 b3059339-0415-0410-9bf9-f77b7e298cf2
* Set freetype flag in the font_desc_t when using a freetype font.ulion2008-01-071-0/+1
| | | | | | | Patched by Guillaume LECERF <foxcore A gmail P com> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25640 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add heartbeat-cmd optionreimar2008-01-073