platform/upstream/gstreamer.git
12 years agologging: use _OBJECT variants more
Stefan Sauer [Thu, 13 Oct 2011 14:42:10 +0000 (16:42 +0200)]
logging: use _OBJECT variants more

12 years agobuffer: Use an inline function instead of a macro for gst_buffer_replace()
Sebastian Dröge [Thu, 13 Oct 2011 08:19:34 +0000 (10:19 +0200)]
buffer: Use an inline function instead of a macro for gst_buffer_replace()

This gives us type checks by the compiler and more useful compiler errors.

12 years agoevent: Use an inline function instead of a macro for gst_event_replace()
Sebastian Dröge [Thu, 13 Oct 2011 08:18:51 +0000 (10:18 +0200)]
event: Use an inline function instead of a macro for gst_event_replace()

This gives us type checks by the compiler and more useful compiler errors.

12 years agobasesrc: properly adjust start time
Wim Taymans [Wed, 12 Oct 2011 15:17:09 +0000 (17:17 +0200)]
basesrc: properly adjust start time

When we do a non-flushing seek and closed the current segment,
make sure that we open the next segment from where we closed.

12 years agoutils: catch invalid instance sizes in gst_type_register_static_full()
Tim-Philipp Müller [Mon, 10 Oct 2011 18:41:33 +0000 (19:41 +0100)]
utils: catch invalid instance sizes in gst_type_register_static_full()

Add guards to catch overly large instance sizes.

https://bugzilla.gnome.org/show_bug.cgi?id=660955

12 years agogstparse: prefix generated parser functions so they don't get exported
Tim-Philipp Müller [Sat, 8 Oct 2011 13:17:25 +0000 (14:17 +0100)]
gstparse: prefix generated parser functions so they don't get exported

Don't export those 35-something random _gst_parse_yy* symbols. These were
never in any header files and also blacklisted from our .def files, in
case anyone wonders.

12 years agopipeline: Use pipeline category for one more log message
Thiago Santos [Fri, 7 Oct 2011 12:45:20 +0000 (09:45 -0300)]
pipeline: Use pipeline category for one more log message

Makes debugging easier.

12 years agoGST_PTR_FORMAT: Add GstBuffer ptr format and use in GST_SCHEDULING
Robert Swain [Fri, 7 Oct 2011 14:36:10 +0000 (16:36 +0200)]
GST_PTR_FORMAT: Add GstBuffer ptr format and use in GST_SCHEDULING

GstBuffer pointers can now be printed using GST_PTR_FORMAT. This is used
in the very useful GST_SCHEDULING debug logs in gstpad.c and allows for
easier and more information tracking of buffer progress through a
pipeline with just debug logging.

12 years agobaseparse: send duration message when updating internal duration
Mark Nauwelaerts [Thu, 6 Oct 2011 12:34:09 +0000 (14:34 +0200)]
baseparse: send duration message when updating internal duration

12 years agobaseparse: Return success if optional start/stop method is not provided
Stas Sergeev [Mon, 26 Sep 2011 10:36:46 +0000 (14:36 +0400)]
baseparse: Return success if optional start/stop method is not provided

This allows to not implement the optional start/stop methods.

12 years agogstquery: Make debugging message more informative
Edward Hervey [Mon, 3 Oct 2011 07:29:10 +0000 (09:29 +0200)]
gstquery: Make debugging message more informative

For all the newcomers out there who still don't know the values of
GstQueryType enum by heart...
... and old-timers who've got better things to do :)

12 years agobaseparse: make estimating the position in query handler actually work
Tim-Philipp Müller [Fri, 30 Sep 2011 14:25:20 +0000 (15:25 +0100)]
baseparse: make estimating the position in query handler actually work

No point estimating if we don't set the result afterwards.

12 years agobaseparse: answer position query in stream time and try upstream first
Vincent Penquerc'h [Mon, 26 Sep 2011 12:14:42 +0000 (13:14 +0100)]
baseparse: answer position query in stream time and try upstream first

Let the demuxer have first say as well.

https://bugzilla.gnome.org/show_bug.cgi?id=659485

12 years agogst.h: include header for atomic queue
Tim-Philipp Müller [Fri, 30 Sep 2011 13:52:01 +0000 (14:52 +0100)]
gst.h: include header for atomic queue

12 years agotests: add minimal test for GstAtomicQueue
Tim-Philipp Müller [Fri, 30 Sep 2011 13:50:51 +0000 (14:50 +0100)]
tests: add minimal test for GstAtomicQueue

Just new + free.

12 years agobasetransform: send delayed events earlier
Vincent Penquerc'h [Mon, 26 Sep 2011 18:52:13 +0000 (19:52 +0100)]
basetransform: send delayed events earlier

Some elements (such as videorate) might push buffers early,
for instance in in transform_ip. We want events (and in particular
any NEWSEGMENT event) to be pushed before that.

This fixes transmageddon wedging on converting a file starting
with a non zero offset to Ogg.

https://bugzilla.gnome.org/show_bug.cgi?id=660165

12 years agogst: Fix compiler warnings on 64 bit mingw-w64
Raimo Järvi [Sun, 25 Sep 2011 21:30:47 +0000 (00:30 +0300)]
gst: Fix compiler warnings on 64 bit mingw-w64

Fixes bug #660083.

12 years agoexamples: fix bogus g_object_unref in helloworld example
Tim-Philipp Müller [Sun, 25 Sep 2011 15:10:53 +0000 (16:10 +0100)]
examples: fix bogus g_object_unref in helloworld example

GMainLoop is not a GObject.

https://bugzilla.gnome.org/show_bug.cgi?id=424143

12 years agobasetransform: delay serialized events when src caps are not set yet
Vincent Penquerc'h [Tue, 20 Sep 2011 12:04:06 +0000 (13:04 +0100)]
basetransform: delay serialized events when src caps are not set yet

https://bugzilla.gnome.org/show_bug.cgi?id=659571

12 years agopad: Set caps on pad before checking if the pad is linked
Stas Sergeev [Tue, 13 Sep 2011 13:04:31 +0000 (17:04 +0400)]
pad: Set caps on pad before checking if the pad is linked

This allows the setcaps handler and notify::caps to link
the pad downstream and doesn't require hacks to always
provide a peer to the pad, like in decodebin2.

12 years agocaps: use g_value_take_string() and gst_value_get_caps() instead of accessing interna...
Fabrizio (Misto) Milo [Thu, 15 Sep 2011 18:49:43 +0000 (11:49 -0700)]
caps: use g_value_take_string() and gst_value_get_caps() instead of accessing internal fields

12 years agopad: add more debug logging for other chain function code path as well
Tim-Philipp Müller [Fri, 16 Sep 2011 12:38:41 +0000 (13:38 +0100)]
pad: add more debug logging for other chain function code path as well

12 years agopad: fix up printf format in debug message
Tim-Philipp Müller [Fri, 16 Sep 2011 12:13:30 +0000 (13:13 +0100)]
pad: fix up printf format in debug message

Which I messed up.

12 years agopad: make some debug traces more useful
Vincent Penquerc'h [Thu, 15 Sep 2011 12:20:15 +0000 (13:20 +0100)]
pad: make some debug traces more useful

https://bugzilla.gnome.org/show_bug.cgi?id=659139

12 years agoscripts: remove gstcvstest.sh
Tim-Philipp Müller [Wed, 14 Sep 2011 21:54:18 +0000 (22:54 +0100)]
scripts: remove gstcvstest.sh

12 years agolfocontrolsource: fix clang compiler warning
Tim-Philipp Müller [Tue, 13 Sep 2011 22:04:09 +0000 (23:04 +0100)]
lfocontrolsource: fix clang compiler warning

Cast enum to int before checking for negative values, which are
impossible according to the enum list.

gstlfocontrolsource.c:652:45: error: comparison of unsigned enum expression < 0
      is always false [-Werror,-Wtautological-compare]
  if (waveform >= num_waveforms || waveform < 0) {
                                   ~~~~~~~~ ^ ~

https://bugzilla.gnome.org/show_bug.cgi?id=653137

12 years agotests: make sure filesrc returns escaped URIs even if the input was unescaped
Tim-Philipp Müller [Tue, 13 Sep 2011 20:58:21 +0000 (21:58 +0100)]
tests: make sure filesrc returns escaped URIs even if the input was unescaped

https://bugzilla.gnome.org/show_bug.cgi?id=654673

12 years agocaps: move log messages for caps creation/freeing into TRACE category
Tim-Philipp Müller [Sat, 10 Sep 2011 17:15:49 +0000 (18:15 +0100)]
caps: move log messages for caps creation/freeing into TRACE category

Reduce SPAM for GST_CAPS:5.

12 years agopad: Only do the subset check in gst_pad_accept_caps() if the pad claims to accept...
Sebastian Dröge [Fri, 9 Sep 2011 10:56:20 +0000 (12:56 +0200)]
pad: Only do the subset check in gst_pad_accept_caps() if the pad claims to accept the caps

12 years agobasesink: make it easy to override the pad query
Nicolas Dufresne [Wed, 7 Sep 2011 21:21:55 +0000 (17:21 -0400)]
basesink: make it easy to override the pad query

Add a vmethod to handle the pad query.
Install a default handler for the pad query.
Use the new query function in filesink

12 years agoRevert "pad: Use gst_pad_accept_caps() instead of manually checking when configuring...
Sebastian Dröge [Thu, 8 Sep 2011 12:29:00 +0000 (14:29 +0200)]
Revert "pad: Use gst_pad_accept_caps() instead of manually checking when configuring a sinkpad"

This reverts commit d3cad28da936b037d877dc70c02286b81b680284.

It causes performance problems because acceptcaps() propagates downstream.

12 years agopad: Use gst_pad_accept_caps() instead of manually checking when configuring a sinkpad
Sebastian Dröge [Thu, 8 Sep 2011 11:41:19 +0000 (13:41 +0200)]
pad: Use gst_pad_accept_caps() instead of manually checking when configuring a sinkpad

12 years agopad: Print a g_warning() if pad accept caps that are not a subset of its caps
Sebastian Dröge [Thu, 8 Sep 2011 11:40:06 +0000 (13:40 +0200)]
pad: Print a g_warning() if pad accept caps that are not a subset of its caps

In 0.11 only subsets are supported again as documented instead of also
allowing non-empty intersections.

12 years agoRevert "basetransform: Use check for subsets and not non-empty intersection to check...
Sebastian Dröge [Thu, 8 Sep 2011 11:26:24 +0000 (13:26 +0200)]
Revert "basetransform: Use check for subsets and not non-empty intersection to check if caps are compatible"

This reverts commit 5e5cc5e89e7e2858a6352fa4c81a374f6e5a6297.

See bug #658541.

12 years agoRevert "pad: Check for subsets, not non-empty intersections to check if caps are...
Sebastian Dröge [Thu, 8 Sep 2011 11:26:01 +0000 (13:26 +0200)]
Revert "pad: Check for subsets, not non-empty intersections to check if caps are compatible"

This reverts commit 0c5d50207326d74a4805bcd898bfac887540f12b.

See bug #658541.

12 years agodocs, gst: typo fixes
Piotr Fusik [Wed, 7 Sep 2011 11:14:38 +0000 (13:14 +0200)]
docs, gst: typo fixes

https://bugzilla.gnome.org/show_bug.cgi?id=658449

12 years agodocs: fix make distcheck
Tim-Philipp Müller [Wed, 7 Sep 2011 14:07:20 +0000 (15:07 +0100)]
docs: fix make distcheck

No point removin those empty override files from git, they'll
just be re-created later, so let's tell gtk-doc about them, so
it can clean them up properly.

12 years agobasetransform: If there's no peer we still have to transform ANY caps in getcaps()
Sebastian Dröge [Wed, 7 Sep 2011 14:02:31 +0000 (16:02 +0200)]
basetransform: If there's no peer we still have to transform ANY caps in getcaps()

Otherwise elements like capsfilter will return ANY caps if no
peer is present instead of the filter caps. The transform_caps()
vfunc could do transformations to the template caps that do not
result in the unmodified template caps.

12 years agodocs: cleanup makefiles
Stefan Sauer [Wed, 7 Sep 2011 12:05:03 +0000 (14:05 +0200)]
docs: cleanup makefiles

Remove commented out parts that we don't need. Remove "the wingo addition" - no
so useful after all. Narrow down file-globs for plugin docs.

12 years agodocs: escape % in docblob
Stefan Sauer [Wed, 7 Sep 2011 11:50:08 +0000 (13:50 +0200)]
docs: escape % in docblob

12 years agoghostpad: Use gst_pad_set_caps() instead of manually changing caps
Stas Sergeev [Fri, 2 Sep 2011 15:46:06 +0000 (19:46 +0400)]
ghostpad: Use gst_pad_set_caps() instead of manually changing caps

gst_pad_set_caps() does essentially the same but additionally calls
the pad's setcaps function.

Fixes bug #658076.

12 years agoAutomatic update of common submodule
Stefan Sauer [Tue, 6 Sep 2011 19:24:10 +0000 (21:24 +0200)]
Automatic update of common submodule

From a39eb83 to 11f0cd5

12 years agoAutomatic update of common submodule
Stefan Sauer [Tue, 6 Sep 2011 13:39:52 +0000 (15:39 +0200)]
Automatic update of common submodule

From 605cd9a to a39eb83

12 years agobasetransform: Use check for subsets and not non-empty intersection to check if caps...
Sebastian Dröge [Tue, 6 Sep 2011 10:17:05 +0000 (12:17 +0200)]
basetransform: Use check for subsets and not non-empty intersection to check if caps are compatible

12 years agopad: Check for subsets, not non-empty intersections to check if caps are compatible
Sebastian Dröge [Tue, 6 Sep 2011 10:19:58 +0000 (12:19 +0200)]
pad: Check for subsets, not non-empty intersections to check if caps are compatible

Pads should only accept caps that are a subset of the pad caps, e.g.
they should accept only caps that have a non-empty intersection and
at least all fields of the pad caps.

Without this a pad that wants for example
  "video/x-h264,stream-format=byte-stream"
will be happy to accept
  "video/x-h264".

12 years agodocs: add since 0.10.36 on the new _NONE enum values
Josep Torra [Fri, 26 Aug 2011 12:09:47 +0000 (14:09 +0200)]
docs: add since 0.10.36 on the new _NONE enum values

12 years agostepping: use the proper argument order
Josep Torra [Thu, 25 Aug 2011 22:13:16 +0000 (00:13 +0200)]
stepping: use the proper argument order

Fixes warning #188: enumerated type mixed with another type reported by ICC.

12 years agofileindex: explicitly cast to the enum types
Josep Torra [Thu, 25 Aug 2011 22:06:12 +0000 (00:06 +0200)]
fileindex: explicitly cast to the enum types

Fixes warning #188: enumerated type mixed with another type reported by ICC.

12 years agotypefinder: use GST_TYPE_FIND_NONE instead of 0
Josep Torra [Thu, 25 Aug 2011 22:00:25 +0000 (00:00 +0200)]
typefinder: use GST_TYPE_FIND_NONE instead of 0

Fixes warning #188: enumerated type mixed with another type reported by ICC.

12 years agolfocontrolsource: explicitly cast to the enum type
Josep Torra [Thu, 25 Aug 2011 21:53:58 +0000 (23:53 +0200)]
lfocontrolsource: explicitly cast to the enum type

Fixes warning #188: enumerated type mixed with another type reported by ICC.

12 years agotypefind: add GST_TYPE_FIND_NONE and use it
Josep Torra [Thu, 25 Aug 2011 21:49:38 +0000 (23:49 +0200)]
typefind: add GST_TYPE_FIND_NONE and use it

Fixes warning #188: enumerated type mixed with another type reported by ICC.

12 years agobaseparse: use the enum values for 0 and don't abuse on gboolean coincidence
Josep Torra [Thu, 25 Aug 2011 21:26:08 +0000 (23:26 +0200)]
baseparse: use the enum values for 0 and don't abuse on gboolean coincidence

Fixes warning #188: enumerated type mixed with another type reported by ICC.

12 years agobaseparse: put the arguments of g_return_val_if_fail in the proper order
Josep Torra [Thu, 25 Aug 2011 21:06:56 +0000 (23:06 +0200)]
baseparse: put the arguments of g_return_val_if_fail in the proper order

12 years agoparse: use GST_PARSE_FLAG_NONE instead of 0
Josep Torra [Thu, 25 Aug 2011 20:48:54 +0000 (22:48 +0200)]
parse: use GST_PARSE_FLAG_NONE instead of 0

Fixes warning #188: enumerated type mixed with another type reported by ICC.

12 years agovalue: explicitly cast to the enum type
Josep Torra [Thu, 25 Aug 2011 20:42:08 +0000 (22:42 +0200)]
value: explicitly cast to the enum type

Fixes warning #188: enumerated type mixed with another type reported by ICC.

12 years agoutils: minor changes related to enum types
Josep Torra [Thu, 25 Aug 2011 20:29:45 +0000 (22:29 +0200)]
utils: minor changes related to enum types

Fixes warning #188: enumerated type mixed with another type reported by ICC.

12 years agotrace: add GST_ALLOC_TRACE_NONE for consistency and use it
Josep Torra [Thu, 25 Aug 2011 20:05:26 +0000 (22:05 +0200)]
trace: add GST_ALLOC_TRACE_NONE for consistency and use it

Fixes warning #188: enumerated type mixed with another type reported by ICC.

12 years agotask: explicitly cast to the enum type
Josep Torra [Thu, 25 Aug 2011 19:52:05 +0000 (21:52 +0200)]
task: explicitly cast to the enum type

Fixes warning #188: enumerated type mixed with another type reported by ICC.

12 years agotagsetter: use GST_TAG_MERGE_UNDEFINED instead of FALSE
Josep Torra [Thu, 25 Aug 2011 19:49:29 +0000 (21:49 +0200)]
tagsetter: use GST_TAG_MERGE_UNDEFINED instead of FALSE

Fixes warning #188: enumerated type mixed with another type reported by ICC.

12 years agosegment: use GST_SEEK_FLAG_NONE instead of 0
Josep Torra [Thu, 25 Aug 2011 19:30:57 +0000 (21:30 +0200)]
segment: use GST_SEEK_FLAG_NONE instead of 0

Fixes warning #188: enumerated type mixed with another type reported by ICC.

12 years agoregistrychunks: explicitly cast to the enum types
Josep Torra [Thu, 25 Aug 2011 19:25:46 +0000 (21:25 +0200)]
registrychunks: explicitly cast to the enum types

Fixes warning #188: enumerated type mixed with another type reported by ICC.

12 years agoquery: minor changes related to enum types
Josep Torra [Thu, 25 Aug 2011 19:18:15 +0000 (21:18 +0200)]
query: minor changes related to enum types

Fixes warning #188: enumerated type mixed with another type reported by ICC.

12 years agopadtemplate: explicitly cast to the enum types
Josep Torra [Thu, 25 Aug 2011 19:03:53 +0000 (21:03 +0200)]
padtemplate: explicitly cast to the enum types

Fixes warning #188: enumerated type mixed with another type reported by ICC.

12 years agopad: explicitly cast to the enum type
Josep Torra [Tue, 16 Aug 2011 21:00:47 +0000 (23:00 +0200)]
pad: explicitly cast to the enum type

Fixes warning #188: enumerated type mixed with another type reported by ICC.

12 years agomessage: explicitly cast to the right enum types
Josep Torra [Tue, 16 Aug 2011 20:51:29 +0000 (22:51 +0200)]
message: explicitly cast to the right enum types

Fixes warning #188: enumerated type mixed with another type reported by ICC.

12 years agoinfo: explicitly cast to the enum type
Josep Torra [Tue, 16 Aug 2011 20:41:32 +0000 (22:41 +0200)]
info: explicitly cast to the enum type

Fixes warning #188: enumerated type mixed with another type reported by ICC.

12 years agoindex: explicitly cast to the enum type
Josep Torra [Tue, 16 Aug 2011 20:37:08 +0000 (22:37 +0200)]
index: explicitly cast to the enum type

Fixes warning #188: enumerated type mixed with another type reported by ICC.

12 years agoformat: use GST_FORMAT_UNDEFINED and few casts to GstFormat
Josep Torra [Tue, 16 Aug 2011 20:29:59 +0000 (22:29 +0200)]
format: use GST_FORMAT_UNDEFINED and few casts to GstFormat

Fixes warning #188: enumerated type mixed with another type reported by ICC.

12 years agobasetransform: Fix bodged previous commit
Sjoerd Simons [Fri, 26 Aug 2011 12:02:34 +0000 (13:02 +0100)]
basetransform: Fix bodged previous commit

12 years agobasetransform: Use GstPadDirection in the query vfunc
Sjoerd Simons [Fri, 26 Aug 2011 11:37:43 +0000 (12:37 +0100)]
basetransform: Use GstPadDirection in the query vfunc

Wim suggested that using GstPadDirection instead of a GstPad in the
arguments to the new query vfunc would be more consistent with the other
functions.

12 years agoBaseTransform: Add a query vfunc
Sjoerd Simons [Thu, 25 Aug 2011 10:02:16 +0000 (11:02 +0100)]
BaseTransform: Add a query vfunc

12 years agocapsfilter: don't assume _get_caps still has to be
Sjoerd Simons [Wed, 20 Jul 2011 12:05:27 +0000 (14:05 +0200)]
capsfilter: don't assume _get_caps still has to be

_set_caps only gets called when the buffer is actually pushed, so there
is a reasonably big window between when the initial caps are retrieved
and when the caps are set on our src pad. So we can't assume the not
having negotiated caps on our src pad means _get_caps still has to be
called.

Instead simply always suggest the new caps on buffer_alloc.

12 years agobasesink: ensure start_time reset upon flush
Mark Nauwelaerts [Tue, 23 Aug 2011 16:19:53 +0000 (18:19 +0200)]
basesink: ensure start_time reset upon flush

12 years agogstobject: also remove the cast as this is causing the trouble
Stefan Kost [Tue, 23 Aug 2011 09:55:17 +0000 (11:55 +0200)]
gstobject: also remove the cast as this is causing the trouble

12 years agogstobject: use the atomic macros to deal with the glib change in the impl.
Stefan Kost [Tue, 23 Aug 2011 09:41:02 +0000 (11:41 +0200)]
gstobject: use the atomic macros to deal with the glib change in the impl.

12 years agoobject: make gst_object_replace() atomic
David Schleef [Sun, 21 Aug 2011 21:07:08 +0000 (14:07 -0700)]
object: make gst_object_replace() atomic

12 years agodocs: more clarification for element docs
Stefan Kost [Sat, 20 Aug 2011 12:07:55 +0000 (14:07 +0200)]
docs: more clarification for element docs

Don't suggest deprecated method in the desction docs and try to be more helpful
in other places by suggesting related functions.

12 years agodocs: small clarification in the gst_element_get_request_pad docs
Stefan Kost [Sat, 20 Aug 2011 07:56:01 +0000 (09:56 +0200)]
docs: small clarification in the gst_element_get_request_pad docs

Make it more obvious that one should pass the template name.

12 years agobaseparse: don't use == in debug string
Tim-Philipp Müller [Thu, 18 Aug 2011 19:46:01 +0000 (20:46 +0100)]
baseparse: don't use == in debug string

It messes up GST_DEBUG=*:5 make foo/bar.valgrind, because
our Makefile looks for '==' as marker of valgrind output.

12 years agobaseparse: fix crash on seek from streaming thread on newsegment event
Tim-Philipp Müller [Thu, 18 Aug 2011 19:44:01 +0000 (20:44 +0100)]
baseparse: fix crash on seek from streaming thread on newsegment event

Event if it's not allowed, we can easily prevent it, so let's do
that.

https://bugzilla.gnome.org/show_bug.cgi?id=656771

12 years agodocs: fix typo in element factory documentation
Tim-Philipp Müller [Tue, 16 Aug 2011 16:19:29 +0000 (17:19 +0100)]
docs: fix typo in element factory documentation

12 years agocaps: fix compiler warning reported by ICC
Tim-Philipp Müller [Mon, 15 Aug 2011 20:05:34 +0000 (21:05 +0100)]
caps: fix compiler warning reported by ICC

The MAX macro expands to code that checks if an unsigned integer is < 0.

Fixes warning #186: pointless comparison of unsigned integer reported by ICC.

https://bugzilla.gnome.org/show_bug.cgi?id=656265

12 years agobuffer: explicitly cast to the enum type
Josep Torra [Wed, 10 Aug 2011 09:39:23 +0000 (11:39 +0200)]
buffer: explicitly cast to the enum type

Fixes warning #188: enumerated type mixed with another type reported by ICC.

https://bugzilla.gnome.org/show_bug.cgi?id=656265

12 years agogststate: explicitly cast to the enum type
Josep Torra [Wed, 10 Aug 2011 09:07:49 +0000 (11:07 +0200)]
gststate: explicitly cast to the enum type

Fixes warning #188: enumerated type mixed with another type reported by ICC.

https://bugzilla.gnome.org/show_bug.cgi?id=656265

12 years agoevent: explicitly cast to the right enum types
Josep Torra [Tue, 9 Aug 2011 21:42:26 +0000 (23:42 +0200)]
event: explicitly cast to the right enum types

Fixes warning #188: enumerated type mixed with another type reported by ICC.

https://bugzilla.gnome.org/show_bug.cgi?id=656265

12 years agogsterror: explicitly cast to the right GstGError code enum types
Josep Torra [Tue, 9 Aug 2011 21:33:43 +0000 (23:33 +0200)]
gsterror: explicitly cast to the right GstGError code enum types

Fixes warning #188: enumerated type mixed with another type reported by ICC.

https://bugzilla.gnome.org/show_bug.cgi?id=656265

12 years agodebugutils: use GST_STATE_VOID_PENDING for GstState instead of 0
Josep Torra [Tue, 9 Aug 2011 21:26:13 +0000 (23:26 +0200)]
debugutils: use GST_STATE_VOID_PENDING for GstState instead of 0

Fixes a warning reported by ICC.

https://bugzilla.gnome.org/show_bug.cgi?id=656265

12 years agocaps: define GST_CAPS_FLAGS_NONE for consistency with other enumerations
Josep Torra [Tue, 9 Aug 2011 20:48:53 +0000 (22:48 +0200)]
caps: define GST_CAPS_FLAGS_NONE for consistency with other enumerations

Use them to fix warnings when building with ICC.

API: GST_CAPS_FLAGS_NONE

https://bugzilla.gnome.org/show_bug.cgi?id=656265

12 years agogst: use GstDebugLevel enum type to fix a warning building with ICC
Josep Torra [Tue, 9 Aug 2011 20:29:44 +0000 (22:29 +0200)]
gst: use GstDebugLevel enum type to fix a warning building with ICC

https://bugzilla.gnome.org/show_bug.cgi?id=656265

12 years agogst-uninstalled: add Farsight and Nice support
Guillaume Desmottes [Mon, 15 Aug 2011 11:17:44 +0000 (13:17 +0200)]
gst-uninstalled: add Farsight and Nice support

https://bugzilla.gnome.org/show_bug.cgi?id=656557

12 years agoqueue2: fix deadlock in error path
Tim-Philipp Müller [Fri, 12 Aug 2011 18:27:21 +0000 (19:27 +0100)]
queue2: fix deadlock in error path

Don't lock the same lock twice. Spotted by Josep Torre Valles.

12 years agodocs: fix typo in PWG
Tim-Philipp Müller [Thu, 11 Aug 2011 08:31:25 +0000 (09:31 +0100)]
docs: fix typo in PWG

RBG -> RGB. Spotted by Will Thompson.

https://bugzilla.gnome.org/show_bug.cgi?id=656326

12 years agodebugutils: removed non-sense comment
Stefan Kost [Thu, 11 Aug 2011 08:09:41 +0000 (10:09 +0200)]
debugutils: removed non-sense comment

12 years agoregistry: move utf-8 validation to registry saving time
Stefan Kost [Mon, 8 Aug 2011 17:36:04 +0000 (19:36 +0200)]
registry: move utf-8 validation to registry saving time

Instead of checking for valid utf-8 element-details every time we create
elements (from plugin-init or registry), do it before we save the registry.
Fixes #656193.

12 years agodocs: fix helloworld compile command line for newer gcc
Tim-Philipp Müller [Sun, 7 Aug 2011 08:14:50 +0000 (09:14 +0100)]
docs: fix helloworld compile command line for newer gcc

https://bugzilla.gnome.org/show_bug.cgi?id=656092

12 years agodebugutils: improve dot file flow layout
Shaun Hoopes [Sat, 6 Aug 2011 16:20:51 +0000 (18:20 +0200)]
debugutils: improve dot file flow layout

Iterate source- and sink-pads separately to ensure that the graph reflects the
upstream/downstream order. Fixes #643269

12 years agotools: make unversioned wrapper look for -0.10 tools only
Tim-Philipp Müller [Fri, 5 Aug 2011 11:12:33 +0000 (12:12 +0100)]
tools: make unversioned wrapper look for -0.10 tools only

Don't want (incompatible) 0.11 tools to be picked up by accident.

12 years agobase: add missing (out) annotation for byte reader/writer functions
Evan Nemerson [Wed, 27 Jul 2011 05:41:59 +0000 (22:41 -0700)]
base: add missing (out) annotation for byte reader/writer functions

https://bugzilla.gnome.org/show_bug.cgi?id=655381

12 years agoelementfactory: fix g-i annotation for _create() and _make() to allow NULL object...
Tim-Philipp Müller [Wed, 27 Jul 2011 09:09:11 +0000 (10:09 +0100)]
elementfactory: fix g-i annotation for _create() and _make() to allow NULL object names

12 years agopwd: discontinous event -> newsegment event
Stefan Kost [Sun, 24 Jul 2011 09:24:44 +0000 (11:24 +0200)]
pwd: discontinous event -> newsegment event

Fix a 0.8 leftover as mentioned on bug #621121.