summaryrefslogtreecommitdiff
path: root/src/encode.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/encode.c')
-rw-r--r--src/encode.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/encode.c b/src/encode.c
index 7dca6f7..88d6707 100644
--- a/src/encode.c
+++ b/src/encode.c
@@ -1,4 +1,4 @@
-/*
+/*
* vim: set sts=2 sw=2 et :
*
* License: LGPL-2.1+
@@ -68,7 +68,7 @@ on_decodebin_pad_added (GstElement *decodebin,
/* BUG: We don't try to fetch a compatible pad for raw audio because
* that somehow always fails to link. Transmageddon does the same. */
if (!g_str_has_prefix (name, "audio/x-raw"))
- /* If we successfully requested a compatible sink pad in
+ /* If we successfully requested a compatible sink pad in
* "autoplug-continue", we can fetch that here. */
sinkpad = gst_element_get_compatible_pad (encodebin, srcpad, NULL);
@@ -147,7 +147,7 @@ stp_encode_from_msg (TranscodeServerCtx *ctx)
GstEncodingProfile *profile;
g_debug ("Constructing pipeline\n");
-
+
src = gst_element_factory_make ("appsrc", "src");
g_object_set (src, "is-live", TRUE,
"emit-signals", FALSE,
@@ -155,7 +155,7 @@ stp_encode_from_msg (TranscodeServerCtx *ctx)
ctx->appsrc = src;
decodebin = gst_element_factory_make ("decodebin", "decodebin");
-
+
gst_bin_add_many (GST_BIN (ctx->pipeline), src, decodebin, NULL);
gst_element_link (src, decodebin);
@@ -185,7 +185,7 @@ stp_encode_from_msg (TranscodeServerCtx *ctx)
/* The pads of decodebin and encodebin are dynamic,
* so those will be linked when streams/pads are added */
- /* When decodebin finds a stream that can be decoded, we check
+ /* When decodebin finds a stream that can be decoded, we check
* if we can pass that directly to encodebin instead of letting
* decodebin find a decoding element automatically */
g_signal_connect (decodebin, "autoplug-continue",