appsrc with GST_FORMAT_BYTES cannot query duration
gyunaev
gyunaev at ulduzsoft.com
Sat Mar 26 22:41:49 UTC 2016
This might also be somehow connected with another issue - appsrc in this
configuration does not respond to gst_event_new_seek() - the seek callback
is simply not called. I use:
GstEvent * seek_event = gst_event_new_seek( m_tempoRate,
GST_FORMAT_TIME,
(GstSeekFlags)(GST_SEEK_FLAG_FLUSH | GST_SEEK_FLAG_ACCURATE),
GST_SEEK_TYPE_SET,
pos * GST_MSECOND,
GST_SEEK_TYPE_NONE,
0 );
but even when I change it to GST_FORMAT_BYTES, nothing happens. Pipeline
generates no errors, but appsrc's seek_cb is not called, so no seek is
performed. While I can seek directly in appsrc, this doesn't let me to
change tempo, and thus is not suitable for my purpose.
I'm now thinking that I'm probably expecting too much from appsrc, and
should be writing a plugin instead, am I right?
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/appsrc-with-GST-FORMAT-BYTES-cannot-query-duration-tp4676539p4676575.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list