gst-plugins-bad: mpegtsdemux: break out when stream identified

Mark Nauwelaerts mnauw at kemper.freedesktop.org
Mon Jan 23 05:23:38 PST 2012


Module: gst-plugins-bad
Branch: master
Commit: d8fdd3485b30d1e1e18f9d999d17013315613429
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=d8fdd3485b30d1e1e18f9d999d17013315613429

Author: Mark Nauwelaerts <mark.nauwelaerts at collabora.co.uk>
Date:   Mon Jan 23 14:10:43 2012 +0100

mpegtsdemux: break out when stream identified

---

 gst/mpegtsdemux/tsdemux.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/gst/mpegtsdemux/tsdemux.c b/gst/mpegtsdemux/tsdemux.c
index c2ebe17..0162ab9 100644
--- a/gst/mpegtsdemux/tsdemux.c
+++ b/gst/mpegtsdemux/tsdemux.c
@@ -1045,6 +1045,7 @@ create_pad_for_stream (MpegTSBase * base, MpegTSBaseStream * bstream,
         name = g_strdup_printf ("private_%04x", bstream->pid);
         caps = gst_caps_new_simple ("subpicture/x-dvb", NULL);
         g_free (desc);
+        break;
       }
       /* hack for itv hd (sid 10510, video pid 3401 */
       if (program->program_number == 10510 && bstream->pid == 3401) {



More information about the gstreamer-commits mailing list