After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 703196 - videoencoder: Send all pending events with type < CAPS before sending caps.
videoencoder: Send all pending events with type < CAPS before sending caps.
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
unspecified
Other All
: Normal normal
: 1.1.2
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-06-27 14:52 UTC by Mathieu Duponchelle
Modified: 2013-07-01 10:57 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
videoencoder: Send all pending events with type < CAPS before sending caps. (1.91 KB, patch)
2013-06-27 14:52 UTC, Mathieu Duponchelle
committed Details | Review

Description Mathieu Duponchelle 2013-06-27 14:52:14 UTC
I had a case where a tag event was sent before stream-start.
Even though that's a bug elsewhere, the encoder should recover from that.
Comment 1 Mathieu Duponchelle 2013-06-27 14:52:16 UTC
Created attachment 247913 [details] [review]
videoencoder: Send all pending events with type < CAPS before sending caps.
Comment 2 Sebastian Dröge (slomo) 2013-07-01 09:17:30 UTC
Not really necessary but I committed it nonetheless because it simplifies the code a bit :)

commit a00f4f239abcf6b21c40289d0a4f0967be0c2237
Author: Sebastian Dröge <slomo@circular-chaos.org>
Date:   Mon Jul 1 11:16:34 2013 +0200

    videodecoder: Send all pending events with type < CAPS before sending caps

commit 798ee176758f623f7c4efbf4959cee6389c201a1
Author: Mathieu Duponchelle <mathieu.duponchelle@epitech.eu>
Date:   Thu Jun 27 16:33:15 2013 +0200

    videoencoder: Send all pending events with type < CAPS before sending caps.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=703196