gst-plugins-bad: mpegtsbase: Flush if we receive a discont buffer

Edward Hervey bilboed at bilboed.com
Sun Mar 30 00:31:03 PDT 2014


On Sat, 2014-03-29 at 03:07 -0700, Sebastian Dröge wrote:
>  
> +  if (FALSE && GST_BUFFER_IS_DISCONT (buf)) {

  Did you really want to enable this ? If so, might want to remove the
FALSE && :)

    Edward

> +    GST_DEBUG_OBJECT (base, "Got DISCONT buffer, flushing");
> +    mpegts_base_flush (base, FALSE);
> +    mpegts_packetizer_flush (base->packetizer, TRUE);
> +  }
> +
>    mpegts_packetizer_push (base->packetizer, buf);
>  
>    while (res == GST_FLOW_OK) {
> 
> _______________________________________________
> gstreamer-commits mailing list
> gstreamer-commits at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-commits

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140330/a60bbcf1/attachment.sig>


More information about the gstreamer-devel mailing list