mpegtsdemux: Remember seek sequence number
authorEdward Hervey <edward@collabora.com>
Mon, 15 Jul 2013 09:15:11 +0000 (11:15 +0200)
committerEdward Hervey <edward@collabora.com>
Mon, 15 Jul 2013 09:20:40 +0000 (11:20 +0200)
commit1b1b3a40d7d3e8f8cbd7bac94e714043980b32c8
treec638478472b0e626429a384aea3184657cc864b0
parent024aa47f644dc141bcf9318a283aa4a3c6b0a7d0
mpegtsdemux: Remember seek sequence number

* Avoids handling twice the same seek (can happen with playbin and files
  with subtitles)
* Set the sequence number of the segment event to the sequence number of
  the seek event that generated it (-1 for the initial one).
gst/mpegtsdemux/mpegtsbase.c
gst/mpegtsdemux/mpegtsbase.h
gst/mpegtsdemux/tsdemux.c