mirror of https://github.com/mpv-player/mpv
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:
parent
18c383f51b
commit
b8fce1217c
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue