[MPlayer-dev-eng] Re: [RFC] rc2
Nico Sabbi
nicola_sabbi at fastwebnet.it
Fri Apr 13 00:42:55 CEST 2007
Nico Sabbi wrote:
> try this, and if it works as expected commit it directly, please.
>
>
> ------------------------------------------------------------------------
>
> Index: libmpdemux/demux_ts.c
> ===================================================================
> --- libmpdemux/demux_ts.c (revisione 22925)
> +++ libmpdemux/demux_ts.c (copia locale)
> @@ -999,6 +999,8 @@
> demuxer->sub->id = params.spid;
> priv->prog = params.prog;
>
> + if((params.vtype == UNKNOWN) && (params.atype == UNKNOWN)) return NULL;
> +
> if(params.vtype != UNKNOWN)
> {
> ts_add_stream(demuxer, priv->ts.pids[params.vpid]);
>
although I have to clarify that if this patch works something must
have changed either in the demuxer layer or in mplayer itself
without me realizing it (without demuxer->video->sh and
demuxer->audio-sh there's really nothing to play with)
More information about the MPlayer-dev-eng
mailing list