[gstreamer-bugs] [Bug 613379] Frozen video after stopping video capture

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Mar 19 19:26:10 PDT 2010


https://bugzilla.gnome.org/show_bug.cgi?id=613379
  GStreamer | gst-plugins-bad | git

Aleksey Lim <alsroot> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|camerabinvideo isn't in     |Frozen video after stopping
                   |GST_STATE_PLAYING after     |video capture
                   |capture-stop signal         |

--- Comment #1 from Aleksey Lim <alsroot at gmail.com> 2010-03-20 02:26:07 UTC ---
Looks like I messed things since camerabinvideo0 is capturing bin, but issue is
still here - autovideosink0 is in GST_STATE_PLAYING state but picture is
frozen.

Code to reproduce issue:

import gtk
import gst
import gobject

pipe = gst.Pipeline('pipeline')
camerabin = gst.element_factory_make('camerabin', 'camerabin')
camerabin.props.flags |= (1 << 1) | (1 << 4)

videorate = gst.element_factory_make('videorate')
camerabin.props.video_post_processing = videorate

pipe.add(camerabin)
pipe.set_state(gst.STATE_PLAYING)

def start():
    camerabin.props.mode = 1
    camerabin.props.filename = 'video.ogg'
    camerabin.emit('capture-start')
gobject.timeout_add(1000, start)

def stop():
    camerabin.emit('capture-stop')
gobject.timeout_add(5000, stop)

gtk.main()

-- 
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