# HG changeset patch # User nicodvb # Date 1176026405 0 # Node ID a8f534c4e071308dc5478ec090b8e6c72e83aa51 # Parent 4822223d84251578475ff5ed8f2e3792e5194ec2 in the system header set audio_locked/video_locked only for dvd and vcd diff -r 4822223d8425 -r a8f534c4e071 libmpdemux/muxer_mpeg.c --- a/libmpdemux/muxer_mpeg.c Sun Apr 08 09:50:27 2007 +0000 +++ b/libmpdemux/muxer_mpeg.c Sun Apr 08 10:00:05 2007 +0000 @@ -591,7 +591,11 @@ len += 3; buff[len++] = 0x4 | (priv->is_xvcd ? 1 : 0); //1 audio stream bound, no fixed, CSPS only for xvcd + //stolen from libavformat + if(priv->is_xvcd || priv->is_dvd) buff[len++] = 0xe1; //system_audio_lock, system_video_lock, marker, 1 video stream bound + else + buff[len++] = 0x21; //marker, 1 video stream bound buff[len++] = ((priv->mux == MUX_MPEG1) ? 0xff : 0x7f); //in mpeg2 there's the packet rate restriction