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 383323 - smpte doesn't handle sink1 and sink2 correctly
smpte doesn't handle sink1 and sink2 correctly
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
Other Linux
: Normal normal
: 0.10.5
Assigned To: Wim Taymans
GStreamer Maintainers
Depends on:
Reported: 2006-12-07 11:16 UTC by Wietse van Aerde
Modified: 2006-12-07 17:31 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14

Description Wietse van Aerde 2006-12-07 11:16:07 UTC
This gst-launch instruction results in an error:
gst-launch videotestsrc ! .sink1 smpte name=s ! ffmpegcolorspace ! ximagesink videotestsrc ! s.sink2

Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /pipeline0/videotestsrc1: Internal data flow error.
Additional debug info:
gstbasesrc.c(1569): gst_base_src_loop (): /pipeline0/videotestsrc1:
streaming task paused, reason not-negotiated (-4)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
FREEING pipeline ...

Another helpful user (MikeS) on irc (#gstreamer) said the following about this error:
ret &= gst_structure_get_double (structure, "framerate", &smpte->fps);
Yes, well.... looks like it only got half-ported to 0.10 :-)
I suspect that line is the specific point it's failing

Tell me if further information is required.
Comment 1 Wim Taymans 2006-12-07 17:31:09 UTC
        * gst/smpte/gstmask.h:
        * gst/smpte/gstsmpte.c: (gst_smpte_class_init),
        (gst_smpte_setcaps), (gst_smpte_init), (gst_smpte_reset),
        (gst_smpte_collected), (gst_smpte_set_property),
        (gst_smpte_get_property), (gst_smpte_change_state), (plugin_init):
        * gst/smpte/gstsmpte.h:
        Port to 0.10 some more.
        Added duration property to specify the duration of the transition.
        Make framerate a fraction.
        Deprecate fps property, we only use negotiated fps.
        Added docs.
        Fix collectpad usage.
        Reset state in READY.
        Send NEWSEGMENT event.
        Fix racy updates of object properties.
        Added debug category.
        Fixes #383323.