demux: use demux_lavf instead of demux_mpg for DVD playback

With the commit "demux_lavf: fix DEMUXER_CTRL_RESYNC", DVD playback
seems to work nicely with demux_lavf, and maybe works even better than
with demux_mpg.

The old demuxer can be forced with: --demuxer=mpegps

If no regressions surface, demux_mpg.c will be deleted later.
This commit is contained in:
wm4 2013-05-05 18:41:12 +02:00
parent 18c383f51b
commit b8fce1217c
1 changed files with 1 additions and 1 deletions

View File

@ -976,7 +976,7 @@ struct demuxer *demux_open_withparams(struct MPOpts *opts,
// format, instead of reyling on libav to auto-detect the stream's format
// correctly.
switch (file_format) {
//case DEMUXER_TYPE_MPEG_PS:
case DEMUXER_TYPE_MPEG_PS:
//case DEMUXER_TYPE_MPEG_TS:
case DEMUXER_TYPE_Y4M:
case DEMUXER_TYPE_NSV: