[MPlayer-dev-eng] [PATCH] DVB TS subtitle not working if corresponding PID doesn't occur at beginning for -demux lavf
KS Ng - dmbth
hk.dmbth at gmail.com
Mon Oct 4 08:31:58 CEST 2010
The patch is attached.
Regards,
K.S. Ng
Reimar Döffinger wrote:
> On Mon, Oct 04, 2010 at 01:13:47PM +0800, KS Ng - dmbth wrote:
>
>> The patch is amended. Please review!
>>
>
> Please attach the patch, your mailer obviously mangles
> it otherwise (adding line-breaks where ther should be none).
>
>
>> @@ -589,6 +592,12 @@
>> if(av_read_frame(priv->avfc, &pkt) < 0)
>> return 0;
>>
>> + if( priv->nb_streams_last != priv->avfc->nb_streams ) {
>> + for(i=priv->nb_streams_last; i<priv->avfc->nb_streams; i++)
>> + handle_stream(demux, priv->avfc, i);
>> + priv->nb_streams_last = priv->avfc->nb_streams;
>> + }
>>
>
> As I said, the if () is now completely pointless.
> _______________________________________________
> MPlayer-dev-eng mailing list
> MPlayer-dev-eng at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: demux_lavf.patch
Type: text/x-patch
Size: 1267 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20101004/aa1cfb51/attachment.bin>
More information about the MPlayer-dev-eng
mailing list