<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
    <title></title>
  </head>
  <body text="#000000" bgcolor="#ffffff">
    On 03/24/2011 10:51 AM, Marl&egrave;ne Jacquier wrote:
    <blockquote
      cite="mid:AANLkTincV-TY-CGMr4S8fo217xpEgU4vDaJ8wBcoaCoK@mail.gmail.com"
      type="cite">Hello,<br>
      <br>
      Using playbin2, is there a way to select a program number of a TS
      file containing several programs?<br>
      <br>
      Regards
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
gstreamer-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a>
</pre>
    </blockquote>
    AFAIK not, but mpegtsdemux has a program_number property, which
    looks suitable for filtering. You could for example catch playbin2's
    element-added signal, and in your specified callback set the program
    number property of mpegtsdemux.<br>
    <br>
    But beware, I have found TS support in GStreamer to be broken
    overall. Proper playback of TS sometimes works, sometimes it
    doesn't.<br>
  </body>
</html>