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 613555 - camerabin: Do not send initial NEWSEGMENT event to video capturing bin
camerabin: Do not send initial NEWSEGMENT event to video capturing bin
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-03-22 02:56 UTC by Aleksey Lim
Modified: 2012-10-21 18:53 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Do not send initial NEWSEGMENT event to video capturing bin (3.72 KB, patch)
2010-03-22 02:58 UTC, Aleksey Lim
none Details | Review

Description Aleksey Lim 2010-03-22 02:56:38 UTC
For now, initial NEWSEGMENT which gst auto sends(I suppose) doesn't make sense since another NEWSEGMENT will be sent anyway from camerabin_video_pad_tee_src0_have_buffer() and camerabin_video_pad_aud_src_have_buffer() methods.

Moreover, initial NEWSEGMENT affects plugins like theoraenc and vorbisenc, they are taking first event to count internal data like initial values for initial_ts(vorbisenc) and segment.accum(theoraenc). Thus, final ogg file's synchronization is broken.

Attached patch just skips initial NEWSEGMENT event.
Comment 1 Aleksey Lim 2010-03-22 02:58:28 UTC
Created attachment 156707 [details] [review]
Do not send initial NEWSEGMENT event to video capturing bin
Comment 2 Thiago Sousa Santos 2010-09-23 19:38:22 UTC
I've just reproduced this, I'm trying to understand why theora/vorbis use running time instead of stream time here.
Comment 3 Tim-Philipp Müller 2012-10-21 18:53:28 UTC
The old 0.10 camerabin(1) element has been replaced with camerabin2 ('camerabin' in 1.0) quite some time ago, so I don't think bugs relating to the old camerabin are going to get looked at any more. I'm therefore closing this bug as obsolete.

Please do re-test with the camerabin element from GStreamer 1.x and re-open this bug or file a new one if there are still issues, thanks!