summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* demux: Increase max buffered packet bytes from 8 to 128 MiBUoti Urpala2008-10-041-5/+1
| | | | | | | | | | | | | | | The hard limit on the amount of buffered bytes per demuxer stream had not been increased since 2001. Since then there have been significant increases in both video bitrates (so it's easier to hit the limit) and typical memory available on a computer (so there's less reason to limit the memory used for buffering). The 8 MiB limit was too easy to hit in the case of high-bitrate video lagging behind audio, when the file is demuxed ahead to get audio packets but video has to be buffered until the decoder catches up to that point. Increase the limit to 128 MiB and remove the #ifdef for CONFIG_TV_BSDBT848 because the normal limit is now higher than the increased value under the #ifdef.
* demux: Reset demux stream 'eof' flag after packet buffer overflowUoti Urpala2008-10-041-0/+8
| | | | | | | | | | | | | The eof flag is set when another demuxer stream has hit the limit on the size or count of buffered packets. This makes sense because in that error situation the calling code can not rely on being able to demux more packets from this stream, so it should rather exit or whatever instead of getting stuck trying. However the situation can improve if packets are demuxed from the other stream. In that case the eof flag should be cleared. This commit adds code to clear the flag if something is successfully read from the stream (so it's only cleared if a caller tries to read packets despite the flag being set; that's enough to fix audio sync issues after video packet buffer overflow).
* Merge svn changes up to r27688Uoti Urpala2008-10-0311-19/+16
|\
| * fix compilation w/ FFmpeg r15533gpoirier2008-10-032-3/+3
| | | | | | | | | | | | | | patch by Andrew Wason %rectalogic A rectalogic P com% git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27688 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Add missing #include for mplayer.h, fixes the warning:diego2008-10-031-0/+1
| | | | | | | | | | | | | | libvo/vo_png.c:67: warning: implicit declaration of function 'exit_player' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27687 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Filter out xpm files from the list of dependencies to check for recursivediego2008-10-031-2/+2
| | | | | | | | | | | | | | | | dependencies. This avoids a ton of spurious warnings when generating dependency information in the gui subdirectory. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27686 b3059339-0415-0410-9bf9-f77b7e298cf2
| * External liba52 parameters should only be enabled if the check succeeded.diego2008-10-031-3/+1
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27685 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Internal liba52 should default to enabled.diego2008-10-031-3/+2
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27684 b3059339-0415-0410-9bf9-f77b7e298cf2
| * fix FAQ about compiling 32 bit mplayer on x86_64gpoirier2008-10-028-8/+8
| | | | | | | | | | | | | | Suggested by Wolfgang Knauf git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27683 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r27682Uoti Urpala2008-10-0229-388/+365
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | Addition of the "outdir" suboption to vo_png in svn was reverted before merging. Conflicts: command.c mplayer.c
| * | Revert "add outdir sub-option to vo png"Uoti Urpala2008-10-023-68/+2
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 22322409ddb527ac855ba71d10dadcb9da415f81. The reverted commit had at least the following problems: - It adds a lot of filesystem handling code to an individual VO. - The added code is duplicated from vo_jpeg.c. - The added code has exit_player() calls. A VO should not exit the whole program. Even if vo_jpeg still has those calls they are a bug that shouldn't spread elsewhere. - The functionality benefit of automatic directory creation is questionable. It was probably only included in vo_jpeg because of the option to automatically create multiple subdirectories (though the utility of that is also questionable); vo_png does not have that.
| * Use the existing pt_iter_goto_head function instead of reimplementing itreimar2008-10-011-2/+2
| | | | | | | | | | | | (incorrectly). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27682 b3059339-0415-0410-9bf9-f77b7e298cf2
| * mpctx->playtree is a node, files can not be directly appended to it,reimar2008-10-011-2/+2
| | | | | | | | | | | | append them to its child instead. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27681 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Add a "pause" property to allow checking if MPlayer is paused.reimar2008-10-012-0/+9
| | | | | | | | | | | | Behaviour without pausing_keep_force prefix is a bit weird. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27680 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Add a m_property_flag_ro function for the default behaviour of areimar2008-10-012-3/+15
| | | | | | | | | | | | read-only flag. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27679 b3059339-0415-0410-9bf9-f77b7e298cf2
| * 10l: Remove deleted file libmpeg2/motion_comp_iwmmxt.c from Makefile as well.diego2008-10-011-2/+1
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27678 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Remove IWMMXT optimizations through libavcodec from libmpeg2.diego2008-10-015-153/+1
| | | | | | | | | | | | | | | | | | | | According to Siarhei Siamashka libavcodec is faster on ARM so it is better to use it directly instead of creating this hackish mix of two libraries. Plus, these local changes would never be acceptable upstream, so no good reason for keeping it in our local patchset remains. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27677 b3059339-0415-0410-9bf9-f77b7e298cf2
| * sync w/r27651gpoirier2008-09-301-13/+61
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27676 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Apply patch for oCERT #2008-013 / CVE-2008-3827reimar2008-09-301-0/+3
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27675 b3059339-0415-0410-9bf9-f77b7e298cf2
| * sync w/r27607gpoirier2008-09-291-2/+6
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27674 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Remove unused function fast_memcpy.diego2008-09-291-4/+0
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27673 b3059339-0415-0410-9bf9-f77b7e298cf2
| * cosmetics: indentationdiego2008-09-291-6/+5
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27672 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Revert mistakenly committed hunk.michael2008-09-291-1/+1
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27671 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Print all cases that are tested, not just the ones that are bad.michael2008-09-291-3/+1
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27670 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Fix infinite loop with spline, bug was introduced in r27612 by me.michael2008-09-291-1/+1
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27669 b3059339-0415-0410-9bf9-f77b7e298cf2
| * cosmetics: prettyprintingdiego2008-09-281-149/+167
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27668 b3059339-0415-0410-9bf9-f77b7e298cf2
| * slave command to get the number of chapters; patch by Kevin DeKorte - ↵nicodvb2008-09-263-0/+19
| | | | | | | | | | | | kdekorte gmail com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27667 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Since the pause loop now also runs commands, set mpctx->was_pausedreimar2008-09-251-1/+1
| | | | | | | | | | | | before entering it for more consistency. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27666 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Add an experimental pausing_keep_force slave mode command prefixreimar2008-09-253-1/+9
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27665 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Do not special-case a grouping-subsegment length of 0.reimar2008-09-251-1/+0
| | | | | | | | | | | | | | Fixes samples/asf-wmv/quicktime.wmv git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27664 b3059339-0415-0410-9bf9-f77b7e298cf2
| * misc fixes for the GUI sectiondiego2008-09-251-8/+6
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27663 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Add debug message about loaded frequency tables.voroshil2008-09-241-1/+2
| | | | | | | | | | | | | | | | | | Replace printed code of input type with user-frendly "broadcast"/"cable" strings. patch from Laurent laurent dot aml at gmail dot com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27662 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Make output messages of frequency selection code more useful byvoroshil2008-09-241-2/+4
| | | | | | | | | | | | | | | | | | | | providing additional information like requested frequency and found nearest fequency/channel. patch from Laurent laurent dot aml at gmail dot com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27661 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Fix overflow in frequency conversion code inside tvi_dshow.voroshil2008-09-241-2/+2
| | | | | | | | | | | | | | patch from Laurent laurent dot aml at gmail dot com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27660 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Add RVTR fourcc to ffrv20 decoder.diego2008-09-231-0/+1
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27659 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Remove one more pointless and gcc-specific __attribute__ ((unused)).diego2008-09-231-1/+1
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27658 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Restore function parameters mistakenly removed in previous commit.diego2008-09-231-2/+2
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27657 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Remove pointless and gcc-specific __attribute__ ((unused)).diego2008-09-231-3/+3
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27656 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Make sure -I. appears before all other -I flags.diego2008-09-211-1/+1
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27655 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Fix glAdjustAlignment parameter in glCreateClearTexreimar2008-09-201-1/+1
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27654 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Change glCreateClearTex to use the same host data format as later uploads.reimar2008-09-204-20/+26
| | | | | | | | | | | | | | This fixes at least some of the massive performance problems the ATI drivers have. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27653 b3059339-0415-0410-9bf9-f77b7e298cf2
| * add blackmagic 10bit decoder, works on v-codecs/R210/compn2008-09-201-0/+9
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27652 b3059339-0415-0410-9bf9-f77b7e298cf2
| * typo fix spotted by diegocompn2008-09-201-8/+8
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27651 b3059339-0415-0410-9bf9-f77b7e298cf2
| * add outdir sub-option to vo pngben2008-09-203-2/+68
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27650 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r27649Uoti Urpala2008-09-2053-2484/+2224
|\| | | | | | | | | | | | | Conflicts: Makefile configure libvo/x11_common.c
| * Remove already disabled and probably long obsolete code that worked around ↵reimar2008-09-201-16/+0
| | | | | | | | | | | | | | | | | | an OpenBox bug. Patch by Julien Danjou [ julien danjou info ] git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27649 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Use already "prefetched" atoms instead of calling XInternAtom each time.reimar2008-09-201-5/+2
| | | | | | | | | | | | | | Patch by Julien Danjou [ julien danjou info ] git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27648 b3059339-0415-0410-9bf9-f77b7e298cf2
| * another dupcompn2008-09-201-1/+0
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27647 b3059339-0415-0410-9bf9-f77b7e298cf2
| * duplicate fourcc spotted by uoticompn2008-09-201-5/+5
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27646 b3059339-0415-0410-9bf9-f77b7e298cf2
| * fix typocompn2008-09-201-5/+5
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27645 b3059339-0415-0410-9bf9-f77b7e298cf2
| * sync with videolancompn2008-09-191-0/+14
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27644 b3059339-0415-0410-9bf9-f77b7e298cf2
| * sync with xinecompn2008-09-191-0/+2
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27643 b3059339-0415-0410-9bf9-f77b7e298cf2
| * sync with libavformat/riff.ccompn2008-09-191-0/+3
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27642 b3059339-0415-0410-9bf9-f77b7e298cf2
| * sync with libavformat/isom.c fourcccompn2008-09-191-6/+39
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27641 b3059339-0415-0410-9bf9-f77b7e298cf2
| * add windows NUL infocompn2008-09-191-1/+2
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27640 b3059339-0415-0410-9bf9-f77b7e298cf2
| * document lavc/lavf avoption o suboptioncompn2008-09-191-10/+48
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27639 b3059339-0415-0410-9bf9-f77b7e298cf2
| * add lavfopts matroska suboptioncompn2008-09-181-0/+2
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27638 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Simplify cpudetect OS-support detection code, e.g. using one mp_msg to print ↵reimar2008-09-181-28/+8
| | | | | | | | | | | | | | | | | | either yes or no instead of two. Should not change code behaviour. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27637 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Uniform *ToY and *ToUV function signatureslu_zero2008-09-181-51/+51
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27636 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Split mono2Y in monowhite and monoblacklu_zero2008-09-181-4/+19
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@