summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUoti Urpala <uau@mplayer2.org>2012-07-26 18:32:09 +0300
committerUoti Urpala <uau@mplayer2.org>2012-07-26 18:32:09 +0300
commit4d71fb7098f2b1488e514f09298edf764bb0d75b (patch)
treed890e33fe5d9ce0ff4a7d0f12ba1f55f9094629d
parentb7fb2daff40c7ad599722490dd11bf0765cc8f69 (diff)
downloadmpv-4d71fb7098f2b1488e514f09298edf764bb0d75b.tar.bz2
mpv-4d71fb7098f2b1488e514f09298edf764bb0d75b.tar.xz
demux_lavf: use lavf for RealMedia (.rm) files by default
RealMedia was listed as a format for which the internal demuxer (demux_real) was preferred over lavf. The original reason for this (lavf failing to give any timing information for some video frames) has been fixed in libavformat since. Make demux_lavf the preferred demuxer for RealMedia. The libavformat demuxer does still have issues. COOK audio initially misbehaves after a seek (inconsistent timestamps, audio remaining from the before-seek position). However, the internal demuxer seemed to be _consistently_ out of sync with a test file. I haven't done thorough testing, but the internal demuxer does not seem less buggy.
-rw-r--r--libmpdemux/demux_lavf.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libmpdemux/demux_lavf.c b/libmpdemux/demux_lavf.c
index c6de1ee4fa..1487a6db6b 100644
--- a/libmpdemux/demux_lavf.c
+++ b/libmpdemux/demux_lavf.c
@@ -245,8 +245,6 @@ static const char * const preferred_internal[] = {
/* lavf Matroska demuxer doesn't support ordered chapters and fails
* for more files */
"matroska",
- /* lavf gives neither pts nor dts for some video frames in .rm */
- "rm",
NULL
};