[MPlayer-cvslog] r37335 - trunk/libmpdemux/demux_mpg.c
reimar
subversion at mplayerhq.hu
Sat Dec 6 15:13:38 CET 2014
Author: reimar
Date: Sat Dec 6 15:13:38 2014
New Revision: 37335
Log:
demux_mpg: remove pointless code that causes us to lose initial audio frames.
Modified:
trunk/libmpdemux/demux_mpg.c
Modified: trunk/libmpdemux/demux_mpg.c
==============================================================================
--- trunk/libmpdemux/demux_mpg.c Sat Dec 6 15:13:37 2014 (r37334)
+++ trunk/libmpdemux/demux_mpg.c Sat Dec 6 15:13:38 2014 (r37335)
@@ -1107,13 +1107,6 @@ static demuxer_t* demux_mpg_ps_open(demu
{
sh_video_t *sh_video = demuxer->video->sh;
- if(demuxer->audio->id!=-2) {
- if(!ds_fill_buffer(demuxer->audio)){
- mp_msg(MSGT_DEMUXER,MSGL_INFO,"MPEG: " MSGTR_MissingAudioStream);
- demuxer->audio->sh=NULL;
- }
- }
-
if(sh_video && !sh_video->format && ps_probe > 0) {
int head;
off_t pos = stream_tell(demuxer->stream);
More information about the MPlayer-cvslog
mailing list