diff options
author | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2011-03-03 00:45:11 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2011-03-03 08:51:21 +0000 |
commit | 88cd418bc9668d2b2d5ddfd2b2fa3f677a5e95a1 (patch) | |
tree | eada954ff35fb66ef0011aa706bdbfcb021b1838 /gst/videoparsers/h263parse.c | |
parent | 588db0bf51122fe4fb17a98b5dfa95eb8e897693 (diff) |
h263parse: minor clean-ups
const-ify some arguments and re-indent header a little.
Diffstat (limited to 'gst/videoparsers/h263parse.c')
-rw-r--r-- | gst/videoparsers/h263parse.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/gst/videoparsers/h263parse.c b/gst/videoparsers/h263parse.c index ace1e18a2f..993890b65f 100644 --- a/gst/videoparsers/h263parse.c +++ b/gst/videoparsers/h263parse.c @@ -31,7 +31,7 @@ GST_DEBUG_CATEGORY_EXTERN (h263_parse_debug); #define GST_CAT_DEFAULT h263_parse_debug gboolean -gst_h263_parse_is_delta_unit (H263Params * params) +gst_h263_parse_is_delta_unit (const H263Params * params) { return (params->type == PICTURE_I); } @@ -455,7 +455,7 @@ beach: } gint -gst_h263_parse_get_profile (H263Params * params) +gst_h263_parse_get_profile (const H263Params * params) { gboolean c, d, d1, d21, d22, e, f, f2, g, h, i, j, k, k0, k1, k2, l, m, n, o, p, q, r, s, t, u, v, w; @@ -577,7 +577,7 @@ gst_h263_parse_get_profile (H263Params * params) (gst_value_compare (&(f1), &(f2)) == GST_VALUE_EQUAL)) gint -gst_h263_parse_get_level (H263Params * params, gint profile, +gst_h263_parse_get_level (const H263Params * params, gint profile, guint bitrate, gint fps_num, gint fps_denom) { GValue fps15 = { 0, }; @@ -659,7 +659,8 @@ gst_h263_parse_get_level (H263Params * params, gint profile, } void -gst_h263_parse_get_framerate (H263Params * params, gint * num, gint * denom) +gst_h263_parse_get_framerate (const H263Params * params, gint * num, + gint * denom) { *num = params->pcfnum; *denom = params->pcfdenom; |