mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
oggmux: remove superfluous code
... since there is nothing in oggstream that cares (or even should) about granulepos for what is being asked from it.
This commit is contained in:
parent
836081abee
commit
2e7eddd35e
1 changed files with 0 additions and 5 deletions
|
@ -841,11 +841,6 @@ gst_ogg_mux_queue_pads (GstOggMux * ogg_mux)
|
|||
packet.packet = GST_BUFFER_DATA (buf);
|
||||
packet.bytes = GST_BUFFER_SIZE (buf);
|
||||
|
||||
if (GST_BUFFER_OFFSET_END_IS_VALID (buf))
|
||||
packet.granulepos = GST_BUFFER_OFFSET_END (buf);
|
||||
else
|
||||
packet.granulepos = 0;
|
||||
|
||||
/* if we're not yet in data mode, ensure we're setup on the first packet */
|
||||
if (!pad->have_type) {
|
||||
/* Use headers in caps, if any; this will allow us to be resilient
|
||||
|
|
Loading…
Reference in a new issue