diff options
author | Rob Clark <rob@ti.com> | 2010-12-17 19:06:27 -0600 |
---|---|---|
committer | Rob Clark <rob@ti.com> | 2010-12-17 19:06:27 -0600 |
commit | aa07af41f30cab25bb8b4bc6faa5d9b958306058 (patch) | |
tree | 27ec3e3b443cced7a20e304792133e24e983a031 /gst/encoding | |
parent | 5bfe1baab393d2a0b16329abda1bd1a7f38d4aec (diff) |
fix compile errors on macosx
with i686-apple-darwin10-gcc-4.2.1:
encoding-profile.h:134: warning: type qualifiers ignored on function return type
encoding-profile.c:240: warning: type qualifiers ignored on function return type
gstencodebin.c: In function 'next_unused_stream_profile':
gstencodebin.c:454: warning: format '%d' expects type 'int', but argument 8 has type 'GType'
gstencodebin.c:464: warning: format '%d' expects type 'int', but argument 8 has type 'GType'
Diffstat (limited to 'gst/encoding')
-rw-r--r-- | gst/encoding/gstencodebin.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gst/encoding/gstencodebin.c b/gst/encoding/gstencodebin.c index 3ba5a403d..4a126202b 100644 --- a/gst/encoding/gstencodebin.c +++ b/gst/encoding/gstencodebin.c @@ -451,7 +451,8 @@ stream_profile_used_count (GstEncodeBin * ebin, GstEncodingProfile * sprof) static inline GstEncodingProfile * next_unused_stream_profile (GstEncodeBin * ebin, GType ptype, GstCaps * caps) { - GST_DEBUG_OBJECT (ebin, "ptype:%d, caps:%" GST_PTR_FORMAT, ptype, caps); + GST_DEBUG_OBJECT (ebin, "ptype:%s, caps:%" GST_PTR_FORMAT, + g_type_name (ptype), caps); if (G_UNLIKELY (ptype == G_TYPE_NONE && caps != NULL)) { /* Identify the profile type based on raw caps */ @@ -461,7 +462,8 @@ next_unused_stream_profile (GstEncodeBin * ebin, GType ptype, GstCaps * caps) ptype = GST_TYPE_ENCODING_AUDIO_PROFILE; /* else if (gst_caps_can_intersect (ebin->raw_text_caps, caps)) */ /* ptype = GST_TYPE_ENCODING_TEXT_PROFILE; */ - GST_DEBUG_OBJECT (ebin, "Detected profile type as being %d", ptype); + GST_DEBUG_OBJECT (ebin, "Detected profile type as being %s", + g_type_name (ptype)); } if (GST_IS_ENCODING_CONTAINER_PROFILE (ebin->profile)) { |