Commit d144f7a3 authored by Vincent Penquerc'h's avatar Vincent Penquerc'h Committed by Sebastian Dröge
Browse files

oggmux: cleanup

Remove a pointless string concatentation, and fix an off-by-one in
packetno in a log.
parent 7caf9e5e
......@@ -781,7 +781,7 @@ gst_ogg_mux_queue_pads (GstOggMux * ogg_mux)
buf = NULL;
} else {
"got data buffer in control state, switching " "to data mode");
"got data buffer in control state, switching to data mode");
/* this is a data buffer so switch to data state */
pad->state = GST_OGG_PAD_STATE_DATA;
......@@ -1106,7 +1106,7 @@ gst_ogg_mux_send_headers (GstOggMux * mux)
if (hwalk == NULL) {
"flushing page as packet %" G_GUINT64_FORMAT " is first or "
"last packet", pad->packetno);
"last packet", packet.packetno);
while (ogg_stream_flush (&pad->stream, &page)) {
GstBuffer *hbuf = gst_ogg_mux_buffer_from_page (mux, &page, FALSE);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment