no more video after new position is set in the pipeline

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

no more video after new position is set in the pipeline

joecfd
I am adding a GUI slider in my app to show the progress of video file play. I
tried to use slider to change the position of the video file in the pipeline
while in play state. The position is changed successfully and the query
shows the new position. However, no videos any more. What could be the
causes? The following code is used to set position.

    QGst::SeekEventPtr seek_event = QGst::SeekEvent::create( 1.0,
QGst::FormatTime, QGst::SeekFlagFlush,
                                                           
QGst::SeekTypeSet, QGst::ClockTime::fromTime( position ),
                                                           
QGst::SeekTypeNone, QGst::ClockTime::None );
    m_pipeline->sendEvent( seek_event );




--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel