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
@ -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…
x
Reference in New Issue
Block a user