diff options
author | wm4 <wm4@nowhere> | 2013-02-14 14:05:50 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-02-14 19:52:34 +0100 |
commit | 55e4f76ce83b88beff650e8d4d8ba8c08348e4dd (patch) | |
tree | 26b36b98b5055e52c6da3d8cde2004bac508e99d | |
parent | af6639500f317a56f49823437e7c632c0cdd5298 (diff) | |
download | mpv-55e4f76ce83b88beff650e8d4d8ba8c08348e4dd.tar.bz2 mpv-55e4f76ce83b88beff650e8d4d8ba8c08348e4dd.tar.xz |
demux_mpg: fix setting codec
This made one case of DVD PCM audio not work. It still doesn't work,
but that will be fixed with the following two commits.
-rw-r--r-- | demux/demux_mpg.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/demux/demux_mpg.c b/demux/demux_mpg.c index 458ed9f926..8dea97ae28 100644 --- a/demux/demux_mpg.c +++ b/demux/demux_mpg.c @@ -572,6 +572,7 @@ static int demux_mpg_read_packet(demuxer_t *demux,int id){ len-=3; if(len<=0) mp_msg(MSGT_DEMUX,MSGL_V,"End of packet while searching for PCM header\n"); dvdpcm_header((sh_audio_t*)(ds->sh)); + mp_set_audio_codec_from_tag((sh_audio_t*)(ds->sh)); } // printf(" \n"); } // if(demux->audio->id==aid) |