mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +00:00
Add DURATION support. It still doesn't work, see #119036 for why and on how to fix it
Original commit message from CVS: Add DURATION support. It still doesn't work, see #119036 for why and on how to fix it
This commit is contained in:
parent
77059a38c1
commit
712da782c9
1 changed files with 1 additions and 0 deletions
|
@ -421,6 +421,7 @@ gst_mp1videoparse_real_chain (Mp1VideoParse *mp1videoparse, GstBuffer *buf, GstP
|
|||
outbuf = gst_buffer_create_sub(mp1videoparse->partialbuf, 0, offset+4);
|
||||
g_assert(outbuf != NULL);
|
||||
GST_BUFFER_TIMESTAMP(outbuf) = mp1videoparse->last_pts;
|
||||
GST_BUFFER_DURATION(outbuf) = GST_SECOND / mp1videoparse->fps;
|
||||
|
||||
if (mp1videoparse->in_flush) {
|
||||
/* FIXME, send a flush event here */
|
||||
|
|
Loading…
Reference in a new issue