Sebastian Dröge
e8d3870214
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.
2011-10-13 10:19:34 +02:00
Sebastian Dröge
ef32fd0d15
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.
2011-10-13 10:18:51 +02:00
Tim-Philipp Müller
56e27b0546
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
2011-10-10 19:41:33 +01:00
Tim-Philipp Müller
01d87250a8
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.
2011-10-08 14:34:04 +01:00
Thiago Santos
52613b4d14
pipeline: Use pipeline category for one more log message
...
Makes debugging easier.
2011-10-07 13:36:38 -03:00
Robert Swain
138bb17bf9
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.
2011-10-07 16:38:52 +02:00
Edward Hervey
a7f8e4a230
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 :)
2011-10-03 09:31:59 +02:00
Tim-Philipp Müller
eeed491170
gst.h: include header for atomic queue
2011-09-30 14:52:01 +01:00
Raimo Järvi
6637d983d3
gst: Fix compiler warnings on 64 bit mingw-w64
...
Fixes bug #660083 .
2011-09-26 12:17:30 +02:00
Stas Sergeev
b090a376d4
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.
2011-09-19 14:08:16 +02:00
Fabrizio (Misto) Milo
7be3899653
caps: use g_value_take_string() and gst_value_get_caps() instead of accessing internal fields
2011-09-19 09:50:11 +02:00
Tim-Philipp Müller
b15ae28ad2
pad: add more debug logging for other chain function code path as well
2011-09-16 13:38:41 +01:00
Tim-Philipp Müller
a08402bdfd
pad: fix up printf format in debug message
...
Which I messed up.
2011-09-16 13:13:30 +01:00
Vincent Penquerc'h
91c217c714
pad: make some debug traces more useful
...
https://bugzilla.gnome.org/show_bug.cgi?id=659139
2011-09-16 12:07:21 +01:00
Tim-Philipp Müller
98ee2979d1
caps: move log messages for caps creation/freeing into TRACE category
...
Reduce SPAM for GST_CAPS:5.
2011-09-10 18:24:49 +01:00
Sebastian Dröge
22ba786807
pad: Only do the subset check in gst_pad_accept_caps() if the pad claims to accept the caps
2011-09-09 12:56:20 +02:00
Sebastian Dröge
7a82ed41f8
Revert "pad: Use gst_pad_accept_caps() instead of manually checking when configuring a sinkpad"
...
This reverts commit d3cad28da9
.
It causes performance problems because acceptcaps() propagates downstream.
2011-09-08 14:29:00 +02:00
Sebastian Dröge
d3cad28da9
pad: Use gst_pad_accept_caps() instead of manually checking when configuring a sinkpad
2011-09-08 13:42:53 +02:00
Sebastian Dröge
79b5e89015
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.
2011-09-08 13:42:53 +02:00
Sebastian Dröge
2bfada5581
Revert "pad: Check for subsets, not non-empty intersections to check if caps are compatible"
...
This reverts commit 0c5d502073
.
See bug #658541 .
2011-09-08 13:42:52 +02:00
Piotr Fusik
14f5518f3d
docs, gst: typo fixes
...
https://bugzilla.gnome.org/show_bug.cgi?id=658449
2011-09-07 18:03:17 +01:00
Stefan Sauer
83eb2d42fa
docs: escape % in docblob
2011-09-07 14:08:35 +02:00
Stas Sergeev
fcadf09779
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 .
2011-09-07 13:38:47 +02:00
Sebastian Dröge
0c5d502073
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".
2011-09-06 12:35:41 +02:00
Josep Torra
185ab7f325
docs: add since 0.10.36 on the new _NONE enum values
2011-08-26 14:11:15 +02:00
Josep Torra
306e317ae9
typefind: add GST_TYPE_FIND_NONE and use it
...
Fixes warning #188 : enumerated type mixed with another type reported by ICC.
2011-08-26 14:11:15 +02:00
Josep Torra
1db007e5bb
parse: use GST_PARSE_FLAG_NONE instead of 0
...
Fixes warning #188 : enumerated type mixed with another type reported by ICC.
2011-08-26 14:11:14 +02:00
Josep Torra
b26c5b99f2
value: explicitly cast to the enum type
...
Fixes warning #188 : enumerated type mixed with another type reported by ICC.
2011-08-26 14:11:14 +02:00
Josep Torra
b57683d258
utils: minor changes related to enum types
...
Fixes warning #188 : enumerated type mixed with another type reported by ICC.
2011-08-26 14:11:14 +02:00
Josep Torra
c0749e7762
trace: add GST_ALLOC_TRACE_NONE for consistency and use it
...
Fixes warning #188 : enumerated type mixed with another type reported by ICC.
2011-08-26 14:11:14 +02:00
Josep Torra
97442ad1a3
task: explicitly cast to the enum type
...
Fixes warning #188 : enumerated type mixed with another type reported by ICC.
2011-08-26 14:11:14 +02:00
Josep Torra
95b96b57a2
tagsetter: use GST_TAG_MERGE_UNDEFINED instead of FALSE
...
Fixes warning #188 : enumerated type mixed with another type reported by ICC.
2011-08-26 14:11:14 +02:00
Josep Torra
c0b0b977d7
segment: use GST_SEEK_FLAG_NONE instead of 0
...
Fixes warning #188 : enumerated type mixed with another type reported by ICC.
2011-08-26 14:11:14 +02:00
Josep Torra
9f8fe424c7
registrychunks: explicitly cast to the enum types
...
Fixes warning #188 : enumerated type mixed with another type reported by ICC.
2011-08-26 14:11:14 +02:00
Josep Torra
ec157ebed9
query: minor changes related to enum types
...
Fixes warning #188 : enumerated type mixed with another type reported by ICC.
2011-08-26 14:11:13 +02:00
Josep Torra
480d415419
padtemplate: explicitly cast to the enum types
...
Fixes warning #188 : enumerated type mixed with another type reported by ICC.
2011-08-26 14:11:13 +02:00
Josep Torra
746813344d
pad: explicitly cast to the enum type
...
Fixes warning #188 : enumerated type mixed with another type reported by ICC.
2011-08-26 14:11:13 +02:00
Josep Torra
c27ce79ba1
message: explicitly cast to the right enum types
...
Fixes warning #188 : enumerated type mixed with another type reported by ICC.
2011-08-26 14:11:13 +02:00
Josep Torra
2a6ba0b29d
info: explicitly cast to the enum type
...
Fixes warning #188 : enumerated type mixed with another type reported by ICC.
2011-08-26 14:11:13 +02:00
Josep Torra
e5d00246cf
index: explicitly cast to the enum type
...
Fixes warning #188 : enumerated type mixed with another type reported by ICC.
2011-08-26 14:11:13 +02:00
Josep Torra
11e287529d
format: use GST_FORMAT_UNDEFINED and few casts to GstFormat
...
Fixes warning #188 : enumerated type mixed with another type reported by ICC.
2011-08-26 14:11:13 +02:00
Stefan Kost
febde0c19f
gstobject: also remove the cast as this is causing the trouble
2011-08-23 11:55:17 +02:00
Stefan Kost
df099959fd
gstobject: use the atomic macros to deal with the glib change in the impl.
2011-08-23 11:43:44 +02:00
David Schleef
ec6e452f63
object: make gst_object_replace() atomic
2011-08-21 14:07:08 -07:00
Stefan Kost
cce32ba0a2
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.
2011-08-20 14:07:55 +02:00
Stefan Kost
a3611c139a
docs: small clarification in the gst_element_get_request_pad docs
...
Make it more obvious that one should pass the template name.
2011-08-20 09:57:14 +02:00
Tim-Philipp Müller
eb08ed6ed0
docs: fix typo in element factory documentation
2011-08-16 17:19:29 +01:00
Tim-Philipp Müller
4985d2a954
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
2011-08-15 21:15:29 +01:00
Josep Torra
c56881a026
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
2011-08-15 21:15:22 +01:00
Josep Torra
2271b6dc9a
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
2011-08-15 21:15:12 +01:00