summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2014-07-17 14:25:24 (GMT)
committerNirbheek Chauhan <nirbheek@centricular.com>2014-07-17 14:25:24 (GMT)
commit84d5d31dcfb2715a4bf35dc898e4a7f3212ba0cf (patch)
treef84f10f2036cb10da32e4fc85d39c817aa88730b /src
parent79ccdc559490bcdab6529dc74bba5d694e8d5913 (diff)
downloadsoup-transcoding-proxy-84d5d31dcfb2715a4bf35dc898e4a7f3212ba0cf.zip
soup-transcoding-proxy-84d5d31dcfb2715a4bf35dc898e4a7f3212ba0cf.tar.gz
Fix a few comments/debug messages
Diffstat (limited to 'src')
-rw-r--r--src/lib.h3
-rw-r--r--src/main.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/src/lib.h b/src/lib.h
index ea6b5f0..fe63114 100644
--- a/src/lib.h
+++ b/src/lib.h
@@ -53,8 +53,9 @@ struct _TranscodeServerCtx {
};
struct _TranscodeClientCtx {
+ /* We don't hold refs to any of these */
SoupMessage *msg;
- GstElement *appsink; /* We hold an extra ref to this */
+ GstElement *appsink;
GstPad *ghostsinkpad;
gboolean keyframe_found;
diff --git a/src/main.c b/src/main.c
index e9be17d..8308521 100644
--- a/src/main.c
+++ b/src/main.c
@@ -342,7 +342,7 @@ force_key_unit:
GST_CLOCK_TIME_NONE,
FALSE, 1);
if (!gst_element_send_event (encodebin, event))
- g_critical ("Couldn't send upstream key unit event!");
+ g_critical ("Couldn't send force key unit event!");
gst_object_unref (encodebin);
client_ctx->appsink = appsink;