diff options
author | Thibault Saunier <tsaunier@gnome.org> | 2016-12-16 11:11:57 -0300 |
---|---|---|
committer | Thibault Saunier <tsaunier@gnome.org> | 2016-12-16 11:27:31 -0300 |
commit | d67f94517737a1b3fd8eea74adea639ba6ae8227 (patch) | |
tree | 1df15887a3982404a6b4216c2a4482f8657c32f6 /gst | |
parent | 6f50b59a20a208d18e95c7700751c87571182335 (diff) |
encoding-profile: Fix documentation and port to gtk markdown
And remove some trailling whitepsaces
Diffstat (limited to 'gst')
-rw-r--r-- | gst/encoding/gstencodebin.c | 4 | ||||
-rw-r--r-- | gst/typefind/gsttypefindfunctions.c | 12 |
2 files changed, 8 insertions, 8 deletions
diff --git a/gst/encoding/gstencodebin.c b/gst/encoding/gstencodebin.c index 1f5de5479..3ff77b17c 100644 --- a/gst/encoding/gstencodebin.c +++ b/gst/encoding/gstencodebin.c @@ -1204,7 +1204,7 @@ _create_stream_group (GstEncodeBin * ebin, GstEncodingProfile * sprof, sgroup->profile = sprof; /* NOTE for people reading this code: - * + * * We construct the group starting by the furthest downstream element * and making our way up adding/syncing/linking as we go. * @@ -1881,7 +1881,7 @@ create_elements_and_pads (GstEncodeBin * ebin) /* 2. Ghost the muxer source pad */ - /* FIXME : We should figure out if it's a static/request/dyamic pad, + /* FIXME : We should figure out if it's a static/request/dyamic pad, * but for the time being let's assume it's a static pad :) */ muxerpad = gst_element_get_static_pad (muxer, "src"); if (G_UNLIKELY (muxerpad == NULL)) diff --git a/gst/typefind/gsttypefindfunctions.c b/gst/typefind/gsttypefindfunctions.c index 7df74fc59..ca8b83b73 100644 --- a/gst/typefind/gsttypefindfunctions.c +++ b/gst/typefind/gsttypefindfunctions.c @@ -2079,7 +2079,7 @@ static GstStaticCaps multipart_caps = GST_STATIC_CAPS ("multipart/x-mixed-replace"); #define MULTIPART_CAPS gst_static_caps_get(&multipart_caps) -/* multipart/x-mixed replace is: +/* multipart/x-mixed replace is: * <maybe some whitespace>--<some ascii chars>[\r]\n * <more ascii chars>[\r]\nContent-type:<more ascii>[\r]\n */ static void @@ -2136,7 +2136,7 @@ static GstStaticCaps mpeg_sys_caps = GST_STATIC_CAPS ("video/mpeg, " #define IS_MPEG_PES_HEADER(data) (IS_MPEG_HEADER (data) && \ IS_MPEG_PES_CODE (((guint8 *)(data))[3])) -#define MPEG2_MAX_PROBE_LENGTH (128 * 1024) /* 128kB should be 64 packs of the +#define MPEG2_MAX_PROBE_LENGTH (128 * 1024) /* 128kB should be 64 packs of the * most common 2kB pack size. */ #define MPEG2_MIN_SYS_HEADERS 2 @@ -2356,7 +2356,7 @@ mpeg_sys_type_find (GstTypeFind * tf, gpointer unused) } /* If we at least saw MIN headers, and *some* were pes headers (pack headers - * are optional in an mpeg system stream) then return a lower-probability + * are optional in an mpeg system stream) then return a lower-probability * result */ if (pes_headers > 0 && (pack_headers + pes_headers) > MPEG2_MIN_SYS_HEADERS) goto suggest; @@ -2448,7 +2448,7 @@ mpeg_ts_probe_headers (GstTypeFind * tf, guint64 offset, gint packet_size) static void mpeg_ts_type_find (GstTypeFind * tf, gpointer unused) { - /* TS packet sizes to test: normal, DVHS packet size and + /* TS packet sizes to test: normal, DVHS packet size and * FEC with 16 or 20 byte codes packet size. */ const gint pack_sizes[] = { 188, 192, 204, 208 }; const guint8 *data = NULL; @@ -2477,7 +2477,7 @@ mpeg_ts_type_find (GstTypeFind * tf, gpointer unused) if (found >= GST_MPEGTS_TYPEFIND_MIN_HEADERS) { gint probability; - /* found at least 4 headers. 10 headers = MAXIMUM probability. + /* found at least 4 headers. 10 headers = MAXIMUM probability. * Arbitrarily, I assigned 10% probability for each header we * found, 40% -> 100% */ probability = MIN (10 * found, GST_TYPE_FIND_MAXIMUM); @@ -2719,7 +2719,7 @@ h264_video_type_find (GstTypeFind * tf, gpointer unused) { DataScanCtx c = { 0, NULL, 0 }; - /* Stream consists of: a series of sync codes (00 00 00 01) followed + /* Stream consists of: a series of sync codes (00 00 00 01) followed * by NALs */ gboolean seen_idr = FALSE; |