tsdemux: Notify when ignore_pcr is set
authorJan Alexander Steffens (heftig) <jan.steffens@ltnglobal.com>
Mon, 26 Jul 2021 14:43:47 +0000 (16:43 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Wed, 28 Jul 2021 13:38:30 +0000 (13:38 +0000)
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2437>

gst/mpegtsdemux/tsdemux.c

index 0a2a769..0c0ece9 100644 (file)
@@ -2314,6 +2314,7 @@ check_pending_buffers (GstTSDemux * demux)
         "Saw more than 500ms of data without PCR. Ignoring PCR from now on");
     GST_MPEGTS_BASE (demux)->ignore_pcr = TRUE;
     demux->program->pcr_pid = 0x1fff;
+    g_object_notify (G_OBJECT (demux), "ignore-pcr");
   }
 
   /* 3. Go over all streams that have current/pending data */