no more video after new position is set in the pipeline

joecfd newcfd at yahoo.com
Wed Jan 27 17:50:03 UTC 2021


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/


More information about the gstreamer-devel mailing list