mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-29 19:50:40 +00:00
oggdemux: add comment
This commit is contained in:
parent
9e222a385c
commit
eb4fc976e5
1 changed files with 3 additions and 1 deletions
|
@ -579,7 +579,9 @@ gst_ogg_demux_chain_peer (GstOggPad * pad, ogg_packet * packet)
|
|||
goto done;
|
||||
|
||||
/* check if valid granulepos, then we can calculate the current
|
||||
* position */
|
||||
* position. We know the granule for each packet but we only want to update
|
||||
* the last_stop when we have a valid granulepos on the packet because else
|
||||
* our time jumps around for the different streams. */
|
||||
if (packet->granulepos < 0)
|
||||
goto done;
|
||||
|
||||
|
|
Loading…
Reference in a new issue