[Bug 750402] tsdemux: pads are removed before new ones are added

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Nov 9 09:17:17 PST 2015


https://bugzilla.gnome.org/show_bug.cgi?id=750402

Thiago Sousa Santos <thiagossantos at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #304589|0                           |1
        is obsolete|                            |
 Attachment #304618|0                           |1
        is obsolete|                            |

--- Comment #7 from Thiago Sousa Santos <thiagossantos at gmail.com> ---
Created attachment 315136
  --> https://bugzilla.gnome.org/attachment.cgi?id=315136&action=edit
mpegtsdemux: Allow deactivation of programs to be delayed

When changing programs, the order of events needs to be the following:
* add pads from new program
* send EOS on old pads
* remove old pads
* emit 'no-more-pads'

Previously tsdemux was not doing that, and was first deactivating and
removing old pads before adding new ones.

We fix this by allowing subclasses of mpegtsbase to be able to handle
themselves the deactivation of programs. In this case tsdemux will
properly deactivate it once it has activated the new program.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list