summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>2011-01-21 14:56:28 +0000
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2011-01-24 20:01:24 +0100
commitd144f7a3a56edd1588d094b7c7ef85eddc695b80 (patch)
treec9c47ea0e58e683e8fe195511f70c07a7bac129a
parent7caf9e5e81ab9846918729b32e6e653fb80c6e14 (diff)
oggmux: cleanup
Remove a pointless string concatentation, and fix an off-by-one in packetno in a log. https://bugzilla.gnome.org/show_bug.cgi?id=640189
-rw-r--r--ext/ogg/gstoggmux.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/ogg/gstoggmux.c b/ext/ogg/gstoggmux.c
index bab9442a1..11a67920f 100644
--- a/ext/ogg/gstoggmux.c
+++ b/ext/ogg/gstoggmux.c
@@ -781,7 +781,7 @@ gst_ogg_mux_queue_pads (GstOggMux * ogg_mux)
buf = NULL;
} else {
GST_DEBUG_OBJECT (ogg_mux,
- "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) {
GST_LOG_OBJECT (mux,
"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);