[Bug 706508] video: respect the event seqnum forwading the ForceKeyUnit events

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Aug 21 09:38:48 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=706508
  GStreamer | gst-plugins-base | unspecified

--- Comment #4 from Andoni Morales <ylatuya at gmail.com> 2013-08-21 16:38:46 UTC ---
The sequence number is different for each event created in the sink and pushed
upstream with  gst_video_event_new_upstream_force_key_unit.
I just need a way to determine whether an event is the same when going back
downstream to know if it's a duplicate.
The scenario is the following:
x264enc ! mp4dashmux ! dashsink name=sink lamemp3enc ! mp4dashmux ! sink.

The sink sends a unique event upstream for each new fragment.
In the case of the h264 encoder, the event is collected in the encoder and
forwarded downstream, so the muxer sees 2 event, the upstream one and the
downstream one.
In the case of the audio encoder, the encoder does not forward back the
upstream event, so we only have one event queued in the muxer, the upstream
one.

Because audio encoders does not forward GstForceKeyUnit events downstream, we
can't rely only in downstream events in the muxer.
And when there is a video encoder, the event is forwarded downstream so I just
need a way to know is the same event (same segnum) to treat it as a duplicate.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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