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 127084 - gnomevfssink hangs from gst-python
gnomevfssink hangs from gst-python
Status: VERIFIED INCOMPLETE
Product: GStreamer
Classification: Platform
Component: gst-python
0.6.4
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2003-11-16 02:13 UTC by mrroach
Modified: 2009-08-15 18:40 UTC
See Also:
GNOME target: ---
GNOME version: 2.3/2.4



Description mrroach 2003-11-16 02:13:19 UTC
Writing the file using gnomevfssink completes, but after all the data is
written, pipeline.iterate() never returns. Here is the relevant snippet:


    filesrc = gstreamer.gst_element_factory_make ("gnomevfssrc", "src")
    decoder = gstreamer.gst_element_factory_make ("mad", "decoder")
    filesrc.set_property('location', src)
    wavenc = gstreamer.gst_element_factory_make("wavenc", "encoder")
    filesink = gstreamer.gst_element_factory_make("gnomevfssink", "filesink")
    filesink.set_property('location', dest)
    pipeline = gstreamer.Pipeline("pipeline")
    
    elements = filesrc, decoder, wavenc, filesink
    for e in elements:
        pipeline.add(e)
    
    previous = None
    for e in elements:
        if previous:
            previous.link(e)
        previous = e

    source_pad = filesrc.get_pad("src")
    pipeline.set_state(gstreamer.STATE_PLAYING);
    
    while pipeline.iterate(): 
        pass                                                              
         

    pipeline.set_state(gstreamer.STATE_NULL)

replacing gnomevfssink with filesink works just fine. If you need any more
info, let me know.

-Mark
(BTW, there doesn't appear to be any gst-python component in bugzilla)
Comment 1 David Schleef 2004-03-18 20:47:22 UTC
Could you attempt to reproduce this with 0.8.0?  Thanks.
Comment 2 Christian Fredrik Kalager Schaller 2004-11-25 18:07:26 UTC
Nothing heard so closing as fixed.