Wim Taymans
dd819ddc6b
orc: avoid precompilation
...
Avoid compiling all the functions at startup but compile only what's needed when
needed.
2012-03-20 15:37:42 +01:00
Wim Taymans
e13a7c76a7
videotestsrc: fix decide_allocation
...
We want to propose a videopool even if downstream didn't provide one.
2012-03-16 20:22:19 +01:00
Wim Taymans
7c0e2b5b1e
update for allocation query changes
2012-03-15 20:36:51 +01:00
Vincent Penquerc'h
73605cb33d
playsink: send navigation event to the sink as a fallback
...
When the video sink is a fakesink, which does not implement the
navigation interface, playsink will drop the navigation command.
In this case, send to the video sink as a fallback. It breaks
the interface abstraction, but is better than just dropping the
navigation event.
2012-03-15 13:02:34 +00:00
Wim Taymans
df5253b22c
update for memory api changes
2012-03-15 13:32:08 +01:00
Wim Taymans
39d78762b9
take padding into account
2012-03-14 19:56:51 +01:00
Mark Nauwelaerts
9fc640b9e0
playsink: remove circular ref between bin and internal pad
...
... by not assigning an additional ref to an async blocked callback,
which should not be called anyway by the time the object is gone.
Fixes #672006 .
2012-03-14 17:32:10 +01:00
Mark Nauwelaerts
d13e1b49f6
playsink: provide fresh copy for gst_caps_merge
...
... since it is documented to modify provided caps.
2012-03-13 15:28:00 +01:00
Wim Taymans
9d8db57eb0
videotestsrc: don't leak the bufferpool
2012-03-12 19:51:21 +01:00
Wim Taymans
25137962ad
fix for caps API changes
2012-03-11 19:04:41 +01:00
Mark Nauwelaerts
8c99412a0d
playbin2: do not take a superfluous ref on uridecodebin instances
...
... which are no longer FLOATING.
2012-03-09 14:19:41 +01:00
Mark Nauwelaerts
5fee17ac8f
uridecodebin: restore FLOATING flag when reusing decodebin instance
...
... which avoids leaking these due to an extra ref later on.
2012-03-09 14:19:14 +01:00
Tim-Philipp Müller
29c266ccff
Merge remote-tracking branch 'origin/master' into 0.11
...
Conflicts:
common
docs/libs/gst-plugins-base-libs.types
ext/pango/gsttextoverlay.c
ext/vorbis/gstvorbisdec.c
gst/playback/gstplaysink.c
gst/playback/gstplaysinkconvertbin.c
sys/ximage/ximagesink.c
sys/xvimage/xvimagesink.c
2012-03-08 20:31:34 +00:00
Mark Nauwelaerts
b2a162ca77
playsink: audio convert bin need not be unconditionally present
...
... so avoid NULL manipulation when setting up chain again
(e.g. after having partially gone down to READY in native audio flag
configuration).
2012-03-08 17:58:17 +01:00
Mark Nauwelaerts
5462536a36
playsink: plug element leak
2012-03-08 15:35:46 +01:00
Wim Taymans
37541750d2
videoscale: fix broken format filter
...
Simply intersect the format with the supported formats to make the code deal
with lists of formats.
2012-03-08 10:22:49 +01:00
Sebastian Dröge
15091ad124
playsink: Chain up to the parent's GstBin::handle_message() for non-prepare-xoverlay element messages
2012-03-05 15:24:20 +01:00
Wim Taymans
d8f698fe20
x-raw-bayer -> x-bayer
...
Rename x-raw-bayer to x-bayer. We might want to merge this with x-raw eventually
but for now keep the x-raw namespace clean.
2012-03-05 12:42:27 +01:00
Wim Taymans
abca785f0f
videoconvert: use base class new vmethods
...
Use the base class filter_meta to proxy all metadata upstream.
Use the base class transform_meta to let it copy all non-colorspace dependent
metadata.
2012-03-02 17:35:40 +01:00
Wim Taymans
5595c0a7df
videoconvert: remove old metadata code
...
The subclass can help us better
2012-03-02 17:12:25 +01:00
Wim Taymans
df004b586e
videoconvert: update for copy data changes
2012-03-02 13:11:36 +01:00
Wim Taymans
9a21eda38c
videoscale: remove old caps fields
2012-03-02 13:11:36 +01:00
Sebastian Dröge
a80c82cd80
playback: Link to libgstinterfaces too for the navigation interface
2012-03-02 11:31:23 +01:00
Sebastian Dröge
006f8f8275
gst: Update for gstmarshal.[ch] removal
2012-03-02 11:15:02 +01:00
Sebastian Dröge
84a02f9f13
Merge branch '0.11' of ssh://git.freedesktop.org/git/gstreamer/gst-plugins-base into 0.11
2012-03-02 10:13:52 +01:00
Sebastian Dröge
1cbcb9281c
mixer/colorbalance: Update for API changes
2012-03-02 10:00:59 +01:00
Sebastian Dröge
f7939bb43f
Merge branch 'master' into 0.11
...
Conflicts:
NEWS
RELEASE
configure.ac
docs/plugins/gst-plugins-base-plugins.args
docs/plugins/gst-plugins-base-plugins.hierarchy
docs/plugins/gst-plugins-base-plugins.interfaces
docs/plugins/inspect/plugin-adder.xml
docs/plugins/inspect/plugin-alsa.xml
docs/plugins/inspect/plugin-app.xml
docs/plugins/inspect/plugin-audioconvert.xml
docs/plugins/inspect/plugin-audiorate.xml
docs/plugins/inspect/plugin-audioresample.xml
docs/plugins/inspect/plugin-audiotestsrc.xml
docs/plugins/inspect/plugin-cdparanoia.xml
docs/plugins/inspect/plugin-encoding.xml
docs/plugins/inspect/plugin-ffmpegcolorspace.xml
docs/plugins/inspect/plugin-gdp.xml
docs/plugins/inspect/plugin-gio.xml
docs/plugins/inspect/plugin-gnomevfs.xml
docs/plugins/inspect/plugin-libvisual.xml
docs/plugins/inspect/plugin-ogg.xml
docs/plugins/inspect/plugin-pango.xml
docs/plugins/inspect/plugin-playback.xml
docs/plugins/inspect/plugin-subparse.xml
docs/plugins/inspect/plugin-tcp.xml
docs/plugins/inspect/plugin-theora.xml
docs/plugins/inspect/plugin-typefindfunctions.xml
docs/plugins/inspect/plugin-uridecodebin.xml
docs/plugins/inspect/plugin-videorate.xml
docs/plugins/inspect/plugin-videoscale.xml
docs/plugins/inspect/plugin-videotestsrc.xml
docs/plugins/inspect/plugin-volume.xml
docs/plugins/inspect/plugin-vorbis.xml
docs/plugins/inspect/plugin-ximagesink.xml
docs/plugins/inspect/plugin-xvimagesink.xml
gst-libs/gst/app/gstappsink.c
gst-libs/gst/audio/mixer.c
gst-libs/gst/audio/mixer.h
gst-libs/gst/tag/gstxmptag.c
gst-libs/gst/video/colorbalance.c
gst-libs/gst/video/colorbalance.h
gst/adder/gstadder.c
gst/playback/gstplaybasebin.c
gst/playback/gstplaybin2.c
gst/playback/gstplaysink.c
gst/videoscale/gstvideoscale.c
tests/check/elements/videoscale.c
tests/examples/seek/seek.c
tests/examples/v4l/probe.c
win32/common/_stdint.h
win32/common/audio-enumtypes.c
win32/common/config.h
2012-03-02 10:00:55 +01:00
Wim Taymans
dcd277b916
videoconvert: proxy allocation meta when we can
...
Proxy all the metadata APIs in the allocation query.
Remove all metadata that is dependent on the colorspace, copy others.
2012-03-01 17:36:08 +01:00
Stefan Sauer
44ff1b3b89
adder: drop newsegment events on sink-pads
...
Adder is sending an own newsegment event on the src pad.
2012-02-29 21:54:49 +01:00
Stefan Sauer
ce1b1d82e3
adder: sink event handling fix
...
Turn _sink_event() into the collectpads event function and merge the logic from
the recently added gst_adder_event. Drop flush_start events as we allready
handle them on the src-pad side. Fixes #670850 .
2012-02-28 20:54:54 +01:00
Edward Hervey
59918e841f
Suppress deprecation warnings in selected files, for g_value_array_* mostly
2012-02-27 14:28:15 +01:00
Wim Taymans
ef980bc09b
audioconvert: improve fixation
2012-02-27 12:52:07 +01:00
Stefan Sauer
3975c10907
adder: include event name in log message
2012-02-27 12:04:38 +01:00
Tim-Philipp Müller
63d1316c0f
videoscale: fix negotiation after addition of new formats and methods
...
Now that we no longer support all methods for all formats, we
need to cater for that in the transform function: we can't
transform formats not supported by the currently-selected
mehod.
make check, folks. It's da bomb.
2012-02-26 23:46:50 +00:00
Alessandro Decina
9f1732fba7
Fix compiler warnings
2012-02-26 20:36:46 +01:00
Wim Taymans
14387953a0
update for basetransform change
2012-02-24 11:03:16 +01:00
Sebastian Dröge
361e1e2e98
playsink: Use g_signal_handlers_block_by_func()/unblock_by_func() instead of disconnecting and reconnecting
2012-02-23 13:41:25 +01:00
Sebastian Dröge
0ef49c5275
playbin2: Proxy colorbalance interface
2012-02-23 13:32:00 +01:00
Sebastian Dröge
4289c0c899
playsink: Proxy colorbalance interface
2012-02-23 13:32:00 +01:00
Sebastian Dröge
46a3ea011d
playbin2: Proxy navigation interface
2012-02-23 11:56:37 +01:00
Sebastian Dröge
d5779c96c4
playsink: Proxy navigation interface
2012-02-23 11:54:27 +01:00
Sebastian Dröge
9dab4a8477
playbin2: Proxy the XOverlay interface
2012-02-23 11:42:55 +01:00
Sebastian Dröge
993c6e006a
playsink: Proxy the XOverlay interface
2012-02-23 11:33:27 +01:00
Wim Taymans
642ca2bd40
audioresample: remove transform lock
...
In this particular case it was not sufficient anyways because the setcaps
function didn't take the transform lock.
2012-02-23 11:19:52 +01:00
Sebastian Dröge
b8343b4a14
playsink: Force the aspect ratio if the sink has such a property
2012-02-23 11:05:11 +01:00
Wim Taymans
7d58b0aa0b
videoconvert: improve fixation
...
Use the fixed upstream caps to fixate the output caps by taking the
intersection.
2012-02-22 15:31:12 +01:00
Sebastian Dröge
2c565f72df
playsink: Only use the sink's colorbalance interface if it supports at least brightness/contrast/hue/saturation
2012-02-22 14:57:31 +01:00
Sebastian Dröge
8bcf96198e
playsinkvideoconvert: Fix element name
2012-02-22 14:12:16 +01:00
Wim Taymans
9212619549
update for new fixate_caps function
2012-02-22 12:32:44 +01:00
Sebastian Dröge
56737a2ab1
playbin2: Give a fixed name "playsink" to the internal playsink element
2012-02-22 12:17:47 +01:00
Sebastian Dröge
68220a1893
playsink: Only really use software volume if requested
2012-02-22 12:08:35 +01:00
Sebastian Dröge
dfa508ffa1
playsink: Add a software color-balance element before the sink if the sink doesn't support changing the color-balance
2012-02-22 12:08:10 +01:00
Tim-Philipp Müller
aa7ee3733d
videotestsrc: fix YV12 chroma plane confusion
...
GST_VIDEO_FRAME_PLANE_DATA() returns the data for the n-th plane,
not the n-th component. In this case, the chroma planes are swapped.
2012-02-22 09:58:20 +00:00
Sebastian Dröge
018bb2ca6f
playsink: Implement GstStreamVolume interface
2012-02-22 10:23:26 +01:00
Wim Taymans
63f3f27164
update for new memory api
2012-02-22 02:05:24 +01:00
David Schleef
df11b1a5d1
colorspace: Fix v210 writing out of bounds
...
Port from 0.10 branch in -bad
2012-02-21 10:05:20 +01:00
Wim Taymans
d2ea46cdbf
Merge branch 'master' into 0.11
...
Conflicts:
tests/examples/seek/seek.c
2012-02-21 10:01:30 +01:00
David Schleef
bb19c41081
videoconvert: clamp intermediates when dithering
...
Port from the colorspace plugin in -bad.
2012-02-20 16:10:22 +01:00
Wim Taymans
4370d42cb9
playback: find raw caps correctly
2012-02-20 15:21:37 +01:00
Wim Taymans
6678c531e0
videoconvert: try to preserver colorimetry and chroma-site
...
Try to preserve the original chroma-site and colorimetry when nothing else was
negotiated.
2012-02-20 12:36:02 +01:00
David Schleef
f8dc679ca7
videoscale: fix AYUV64 scaling
2012-02-19 00:05:08 -08:00
Wim Taymans
b2946746ae
ssaparse: set caps on srcpad
2012-02-17 14:37:36 +01:00
Wim Taymans
6d5882754f
subtitle: avoid deadlock
2012-02-17 14:37:18 +01:00
Wim Taymans
61c446f2ef
RELEASE 0.11.2
2012-02-17 11:03:14 +01:00
Wim Taymans
e44dd9db8f
Merge branch 'master' into 0.11
...
Conflicts:
gst-libs/gst/audio/gstaudioencoder.c
gst-libs/gst/pbutils/gstdiscoverer.c
2012-02-16 14:23:28 +01:00
Olivier Aubert
c79d2d314c
docs: fix playbin2 documentation about DVD URIs
...
and playbin => playbin2 in example pipelines.
https://bugzilla.gnome.org/show_bug.cgi?id=668081
2012-02-15 12:04:19 +00:00
Vincent Penquerc'h
e16d8e3b19
subtitleoverlay: log why an overlay element cannot be used
2012-02-14 00:06:53 +00:00
Vincent Penquerc'h
169c697114
playbin2: fix old style raw A/V caps
...
They're now {audio,video}/x-raw, not {audio,video}/x-raw-*
https://bugzilla.gnome.org/show_bug.cgi?id=668682
2012-02-14 00:06:37 +00:00
Vincent Penquerc'h
bc9b231905
subtitleoverlay: fix probing of raw video caps
...
They're now video/x-raw, not video/x-raw-* anymore.
https://bugzilla.gnome.org/show_bug.cgi?id=668682
2012-02-14 00:06:33 +00:00
Vincent Penquerc'h
66e05c04b8
subtitleoverlay: add a couple drive by const
...
https://bugzilla.gnome.org/show_bug.cgi?id=668682
2012-02-14 00:06:17 +00:00
Christian Fredrik Kalager Schaller
4a774a1eea
Add missing header file to build file
2012-02-13 16:03:03 +00:00
Thomas Vander Stichele
4d59dc2391
multifdsink: depends on sys/socket.h
2012-02-12 22:23:45 +01:00
Thomas Vander Stichele
b11c895efe
multihandlesink: finish refactor
2012-02-12 22:23:45 +01:00
Thomas Vander Stichele
029b9b49de
multihandle: rename num-fds/-sockets to num-handles
2012-02-12 22:23:45 +01:00
Thomas Vander Stichele
fa14beb88b
multihandlesink: rework to use Handle
2012-02-12 22:23:45 +01:00
Thomas Vander Stichele
64d8ec6459
multihandlesink: introduce Handle union
2012-02-12 22:23:44 +01:00
Thomas Vander Stichele
14ac8bb585
multihandlesink: rework to use GST_TYPE_FORMAT
2012-02-12 22:23:44 +01:00
Thomas Vander Stichele
16a675081d
test: use more literal enums
2012-02-12 22:23:44 +01:00
Thomas Vander Stichele
020739664a
multihandlesink: further refactoring
2012-02-12 22:23:44 +01:00
Thomas Vander Stichele
99185cc8f5
multisocketsink: fix refcounting bug
2012-02-12 22:17:56 +01:00
Thomas Vander Stichele
604ddc8740
multihandlesink: further refactoring
2012-02-12 22:17:56 +01:00
Thomas Vander Stichele
d21c42a709
multihandlesink: fix one bug in multisocketsink refactoring
2012-02-12 22:10:51 +01:00
Thomas Vander Stichele
c024274261
multihandlesink: first stab at common base class
2012-02-12 22:10:50 +01:00
Thomas Vander Stichele
684aa4baaf
gst/tcp: Factor out common symbols; fix tests.
2012-02-12 22:07:29 +01:00
Thomas Vander Stichele
3b0fae73ae
multifdsink: put back multifdsink before refactoring
2012-02-12 22:07:29 +01:00
Wim Taymans
e22f406a9a
videoconvert: improve error reporting
2012-02-10 15:41:19 +01:00
Wim Taymans
c3478b2da0
Merge branch 'master' into 0.11
...
Conflicts:
ext/vorbis/gstvorbisparse.c
gst-libs/gst/video/video.c
gst/videoscale/gstvideoscale.c
sys/v4l/gstv4lxoverlay.c
sys/v4l/v4l_calls.c
sys/v4l/v4lsrc_calls.c
tests/check/libs/video.c
2012-02-10 15:41:06 +01:00
Tim-Philipp Müller
e832929080
typefindfunctions: make h264 typefinder more picky when returning "likely" probability
...
Only return LIKELY probability if we've seen an SPS, PPS and an
IDR slice nal, i.e. try harder to avoid false positives such
as with certain VC-1 files.
https://bugzilla.gnome.org/show_bug.cgi?id=668565
2012-02-10 10:28:40 +00:00
Wim Taymans
6e1288bd00
videoconvert: avoid using _CATEGORY_GET
2012-02-09 16:00:59 +01:00
Wim Taymans
0dd59060d9
subtitleoverlay: fix merge error
...
Fix merge error from commit fb6d09055a
2012-02-09 15:51:10 +01:00
Wim Taymans
f31d5d7505
debug: add some performance debug
2012-02-09 15:28:54 +01:00
Tim-Philipp Müller
dc08c01935
typefindfunctions: minor cosmetic change
...
Don't write < 1 when we mean == 0.
2012-02-08 19:34:57 +00:00
Wim Taymans
a75e9102c5
GST_FLOW_WRONG_STATE -> GST_FLOW_FLUSHING
2012-02-08 15:17:49 +01:00
Wim Taymans
5808721baa
volume: use right info structure for setup
2012-02-06 16:08:24 +01:00
David Schleef
beacccc396
videoscale: Add nearest/linear scaling for NV12
2012-02-04 13:41:47 -08:00
David Schleef
e4f01106d0
videoscale: Add AYUV64 path to Lanczos
2012-02-04 13:41:47 -08:00
Wim Taymans
3a11210bc2
gdppay: fixup for changed caps
...
Try to send the streamheader after the first buffer.
2012-02-03 11:38:15 +01:00
Wim Taymans
1dfb84e3c5
dataprotocol: don't define default Category
...
Since we now include this into the unit tests directly, don't define the default
category macro because it conflicts with check.
2012-02-03 11:37:21 +01:00
Wim Taymans
6c4367f6e2
audiorate: use default event handler
...
Use the default event handler for unknown events.
2012-02-03 09:56:56 +01:00
Wim Taymans
b3eb4e5bd4
playsink: call the right default query handler
...
We need to call the default query handler of the proxy pad because only that one
will forward the query to the target pad in case of the allocation query.
2012-02-02 12:14:15 +01:00
Tim-Philipp Müller
c61f794fc2
typefindfunctions, subparse: fix for gst_type_find_register() API change
2012-02-02 01:35:21 +00:00
Tim-Philipp Müller
4738e02bbf
playback: suppress GValueArray deprecation warnings for the time being
...
until this gets sorted out and we have a viable alternative.
https://bugzilla.gnome.org/show_bug.cgi?id=667228
2012-02-01 15:50:52 +00:00
Wim Taymans
be0cadac03
update for HEADER flag changes
2012-01-30 17:16:17 +01:00
Olivier Crête
e391118125
Use macros to register boxed types thread safely
2012-01-28 14:53:21 +00:00
Jason DeRose
91f8f414cd
audiorate: Use the number of samples for the in and out properties as documented
2012-01-27 18:16:05 +01:00
Andoni Morales Alastruey
7e97a21b10
tcpserversink: remove unused include
2012-01-26 15:26:43 +01:00
Sebastian Dröge
c07271ea02
adder: Update for new collectpads2 event handling API
2012-01-26 10:45:53 +01:00
Edward Hervey
0c60a5c7a3
adder: Remove deprecation disabling
...
It's actually fixed in 0.11
2012-01-25 15:02:09 +01:00
Edward Hervey
47fc70ea79
Suppress deprecations in selected files
2012-01-25 14:49:44 +01:00
Edward Hervey
629d734e83
Suppress deprecations in selected files
2012-01-25 12:51:46 +01:00
Vincent Penquerc'h
2de0a62381
subparse: factor memory freeing
2012-01-25 11:45:24 +00:00
Vincent Penquerc'h
17ea0308cf
subparse: fix parsing by not misusing non time segments
...
A simple filesrc ! subparse ! fakesink type pipeline now works again.
2012-01-25 11:45:24 +00:00
Wim Taymans
15b7375c44
subtitle: fix merge
2012-01-25 12:33:03 +01:00
Wim Taymans
fcdc385aa1
port to new map API
2012-01-25 12:30:53 +01:00
Sebastian Dröge
130a8335a0
Merge branch 'master' into 0.11
...
Conflicts:
gst/playback/gstdecodebin2.c
2012-01-25 12:29:11 +01:00
Sebastian Dröge
711e6a12ef
Revert "decodebin2: Prune old groups before switching to the new one"
...
This reverts commit e2a038acee
.
This wasn't entirely correct yet and needs some changes here
and there.
2012-01-25 12:25:05 +01:00
Sebastian Dröge
7e5aeba02f
decodebin2: Fix merge error
2012-01-25 12:04:24 +01:00
Sebastian Dröge
68c0790817
Merge branch 'master' into 0.11
...
Conflicts:
gst-libs/gst/interfaces/propertyprobe.c
sys/xvimage/xvimagesink.c
2012-01-25 11:50:54 +01:00
Vincent Penquerc'h
c433ef9b70
playbin2: do not try to deactivate an inactive group
...
A group may have failed to activate due to an error (for instance,
having set the URI to a non existent location in about-to-finish).
https://bugzilla.gnome.org/show_bug.cgi?id=666395
2012-01-23 11:56:50 +00:00
Anssi Hannula
dd8f9aca92
subtitleoverlay: fix state change stall on PAUSED->READY->PAUSED
...
After a PAUSED->READY change the sink pads are currently not set to
blocking state. When the element is set back to PAUSED, the change will
be done asynchronously, but as the _pad_blocked_cb() callback is now not
called, the state change never completes.
Fix that by setting the sink pads to blocking state on a PAUSED->READY
change, which ensures that the _pad_blocked_cb() is called when needed
on any future READY->PAUSED change. The sink pads are already put to
blocking state on NULL->READY change, so this behavior is consistent.
Fixes bug #668097 .
2012-01-20 17:29:06 +00:00
Stefan Sauer
0e370d4902
controller: adapt to controller api changes
...
Don't use the convenience api for control sources.
2012-01-20 11:39:10 +01:00
Mark Nauwelaerts
71f70c98ef
streamsynchronizer: avoid unlikely NULL dereference
2012-01-19 16:43:40 +01:00
Mark Nauwelaerts
e82ff60a4c
videoscale: prevent implicit upgrade to integer type and sign extension
2012-01-19 16:43:38 +01:00
Mark Nauwelaerts
be34d4c78e
playsink: verify linking to overlay element
2012-01-19 16:43:32 +01:00
Mark Nauwelaerts
e5f6675ea3
playsink: avoid finding sink in NULL bin in corner case
2012-01-19 16:43:30 +01:00
Wim Taymans
3d42f0f6ed
port to new glib thread API
2012-01-19 11:36:17 +01:00
Wim Taymans
8dcb565221
tcp: work around compiler warnings
2012-01-19 09:17:31 +01:00
Youness Alaoui
e2a038acee
decodebin2: Prune old groups before switching to the new one
...
In order to allow for proper functionality when a decoder only supports
one instance at a time (dsp), we must block the demuxer pads when they
get created if they are not part of the active group, preventing buffers
from being sent to the decoder (and initializing it through setcaps),
then after we switch to a new group, we unblock the demuxer pads for
the active groups. In the callback for the unblock, we prune the old
groups, making sure the previous decoder instance is destroyed before
we push a buffer to the new instance.
2012-01-19 09:04:52 +01:00
Tim-Philipp Müller
576bbb4fd8
Remove compatibility code cruft for old GLib versions
2012-01-18 17:22:21 +00:00
Tim-Philipp Müller
6b12cee5a8
encoding: port to new GLib threading API
2012-01-18 17:21:36 +00:00
Sebastian Dröge
317894d314
gio: Move to gst subdirectory
...
It's a plugin without external dependencies now because we
unconditionally depend on GIO anyway.
2012-01-18 16:21:14 +01:00
Sebastian Dröge
6cb38409d1
tcp: Fix handling of closed connections
2012-01-17 12:21:54 +01:00
Sebastian Dröge
6d6593b757
tcp: Add support for IPv6
2012-01-17 12:08:17 +01:00
Sebastian Dröge
a649fe2d61
tcp: Only read as much as is currently available from the socket
2012-01-17 11:44:20 +01:00
Sebastian Dröge
c2438ba868
tcp: Don't leak the resolver if name resolval failed
2012-01-17 11:32:01 +01:00
Sebastian Dröge
7e4d0b0038
multisocketsink: Fix possible GType namespace conflicts with the private element enums
2012-01-16 12:29:35 +01:00
Sebastian Dröge
7794a11347
multisocketsink: Re-add QoS DSCP property
2012-01-16 12:17:00 +01:00
Sebastian Dröge
1148919ad0
tcp: Remove old socket helper functions
2012-01-16 11:31:46 +01:00
Sebastian Dröge
17254bbd23
tcpserversink: Port to GIO
...
And change multifdsink to GIO too and rename it to multisocketsink
because it only works on GSockets now, not generic fds.
2012-01-16 11:31:40 +01:00
Sebastian Dröge
d29c7826ab
tcpserversrc: Port to GIO
2012-01-16 11:13:37 +01:00
Sebastian Dröge
2a2acedde0
tcpclientsink: Port to GIO
2012-01-16 11:13:37 +01:00
Sebastian Dröge
075ec8b4e4
tcpclientsrc: Port to GIO
2012-01-16 11:13:31 +01:00
Mark Nauwelaerts
345b6a58f4
playsinkconvertbin: release extra ref on converter elements
2012-01-12 13:57:18 +01:00
Sebastian Dröge
a4104c54eb
streamsynchronizer: Don't unref the parent in the event function
2012-01-10 15:59:27 +01:00
Sebastian Dröge
dc8984d76c
Merge branch 'master' into 0.11
...
Conflicts:
gst-libs/gst/app/gstappsrc.c
gst-libs/gst/audio/multichannel.h
gst-libs/gst/video/videooverlay.c
gst/playback/gstplaysink.c
gst/playback/gststreamsynchronizer.c
tests/check/Makefile.am
win32/common/libgstvideo.def
2012-01-10 13:15:12 +01:00
Mark Nauwelaerts
e8fd305623
playback: document DEINTERLACE flag
2012-01-09 12:34:07 +01:00
Mark Nauwelaerts
97a4f7e1e5
audioresample: fix debug message format specifier
2012-01-06 16:15:45 +01:00
Edward Hervey
f5f781e8fb
Revert "decodebin2: Try harder to get initial topology caps"
...
This reverts commit 6b3e3544d4
.
I really shouldn't put WIP commits in my main branch ...
2012-01-06 15:40:06 +01:00
Edward Hervey
6b3e3544d4
decodebin2: Try harder to get initial topology caps
...
Since caps are no longer 'shared' between two pads (but forwarded from
source pad to sink pad) we end up with the first chain pad not having
specified caps (i.e. typefind:src).
This solves the issues by getting the pad's peer caps.
It is not optimal since it will (for most demuxers) return the pad
template caps, which might contain non-fixed caps (ex : with
qtdemux "video/quicktime; video/mj2; audio/x-m4a; application/x-3gp")
https://bugzilla.gnome.org/show_bug.cgi?id=667337
2012-01-06 14:40:25 +01:00
Havard Graff
95be60de15
Fix various unlikely, but still potential memoryleaks in error code paths
...
https://bugzilla.gnome.org/show_bug.cgi?id=667311
2012-01-05 13:27:23 +00:00
Havard Graff
cfdb48ba8f
videotestsrc: keep the calculation fixed-point
...
https://bugzilla.gnome.org/show_bug.cgi?id=667315
2012-01-05 11:00:47 +00:00
Sebastian Dröge
2db0238450
audiotestsrc: Fix channel-mask handling
2012-01-05 10:34:25 +01:00
Sebastian Dröge
241de164ee
audioconvert: Fix channel-mask handling
2012-01-05 10:34:25 +01:00
Sebastian Dröge
8cd8965e19
gst: Add new layout field to all raw audio caps
2012-01-05 10:34:25 +01:00
Sebastian Dröge
5bdf6b3383
gst: Add new layout field to the raw audio caps
2012-01-05 10:34:25 +01:00
Sebastian Dröge
e0f9b4fffc
audioconvert: Port to the new multichannel caps
...
audioconvert still needs support for mixing all the new
channel positions, see:
https://bugzilla.gnome.org/show_bug.cgi?id=666506
2012-01-05 10:34:19 +01:00
Wim Taymans
24d405b609
multifdsink: use pad caps for streamheader
...
Instead of using the caps on the buffer, use the caps on the pad.
2012-01-04 17:57:39 +01:00
Tim-Philipp Müller
b15b03ee6f
videotestsrc: don't build generate_sine_table utility by default
2012-01-03 21:20:04 +00:00
Mark Nauwelaerts
3e0d35aec4
streamsynchronizer: force fallback buffer_alloc when other pad not available
...
... to avoid unnecessary spurious errors (upon e.g. shutdown).
If a real error is applicable in this unusual circumstance (missing other pad),
other (STREAM_LOCK protected) call paths can take care of that.
2012-01-03 11:07:17 +01:00
Mark Nauwelaerts
af28016d0a
streamsynchronizer: avoid crashing when operating on released pad
2012-01-03 11:07:15 +01:00
Wim Taymans
e2f91075e4
streamcombiner: fix srcpad query caps
...
The caps query on the srcpad should return the template caps instead of
forwarding the query.
2012-01-02 18:28:46 +01:00
Wim Taymans
30a66af4e2
videorate: chain up to parent event function
2012-01-02 17:42:11 +01:00
Wim Taymans
f4e58e3e8e
videorate: fix caps negotiation function
2012-01-02 17:28:12 +01:00
Wim Taymans
8a9a0bf6da
audioresample: truncate in fixation
2012-01-02 15:59:09 +01:00
Tim-Philipp Müller
26e612aeda
playback, mixerutils: gst_registry_get_default() -> gst_registry_get()
2012-01-02 14:32:11 +00:00
Wim Taymans
ff4efd075f
audioconvert: handle unpositioned channels
...
Refuse to convert between unpositioned layouts.
2012-01-02 15:03:54 +01:00
Edward Hervey
f562a29284
Merge remote-tracking branch 'origin/master' into 0.11
...
Conflicts:
ext/theora/gsttheoraenc.c
gst-libs/gst/tag/gstexiftag.c
gst/adder/gstadder.c
gst/adder/gstadder.h
gst/playback/gstdecodebin2.c
gst/playback/gstsubtitleoverlay.c
tests/check/libs/tag.c
2011-12-30 13:21:35 +01:00
Tim-Philipp Müller
862d9f741e
gdp: move dataprotocol library into gdp plugin and make private
...
We have removed things like protocol=gdp in the tcp elements
in favour of explicit gdppay/depay elements, so there's no need
to keep a public API and library for now. We can still add it
back later. Someone needs to think hard about 0.11 and gdp
anyway one of these days.
2011-12-25 23:25:42 +00:00
Tim-Philipp Müller
9414306d06
Merge branch 'merge-dataprotocol-library-into-gdp-plugin' into 0.11
2011-12-25 23:25:34 +00:00
Tim-Philipp Müller
17359744f3
tcp: remove some dataprotocol cruft
...
The protocol=gdp property has been removed in favour
of explicit gdppay/depay.
2011-12-25 23:25:31 +00:00
Wim Taymans
3be7c22bd4
gdp: fix header files
...
Ensure correct indentation and retab
Make sure all structure have padding
2011-12-25 22:49:59 +00:00
Wim Taymans
9cd50cad38
gdp: rename buffer PREROLL -> LIVE flag
...
Rename the GST_BUFFER_FLAG_PREROLL to GST_BUFFER_FLAG_LIVE and give the new flag
a meaning. The old PREROLL flag never had a clear meaning.
2011-12-25 22:49:59 +00:00
Wim Taymans
bc11a6fd17
gdp: make new _buffer_allocate method
...
Make a new method to allocate a buffer + memory that takes the allocator and the
alignment as parameters. Provide a macro for the old method but prefer to use
the new method to encourage plugins to negotiate the allocator properly.
2011-12-25 22:49:59 +00:00
Wim Taymans
7c7920e0e2
gdp: Rework GstSegment handling
...
Improve GstSegment, rename some fields. The idea is to have the GstSegment
structure represent the timing structure of the buffers as they are generated by
the source or demuxer element.
gst_segment_set_seek() -> gst_segment_do_seek()
Rename the NEWSEGMENT event to SEGMENT.
Make parsing of the SEGMENT event into a GstSegment structure.
Pass a GstSegment structure when making a new SEGMENT event. This allows us to
pass the timing info directly to the next element. No accumulation is needed in
the receiving element, all the info is inside the element.
Remove gst_segment_set_newsegment(): This function as used to accumulate
segments received from upstream, which is now not needed anymore because the
segment event contains the complete timing information.
2011-12-25 22:49:59 +00:00
Wim Taymans
1d9482190d
gdp: Hide the GstStructure in GstEvent
...
Hide the GstStructure of the event in the implementation specific part so that
we can change it.
Add methods to check and make the event writable.
Add a new method to get a writable GstStructure of the element.
Avoid directly accising the event structure.
2011-12-25 22:49:59 +00:00
Stefan Kost
f8cdb67fa5
gdp: add docs for GstDPPacketizer
2011-12-25 22:49:59 +00:00
Wim Taymans
d7b3ff8413
gdp: port code to new buffer data API
2011-12-25 22:49:59 +00:00
Wim Taymans
a9cec31b97
gdp: remove deprecated code
2011-12-25 22:49:59 +00:00
Tim-Philipp Müller
a24e138493
gdp: make public enum _get_type() functions thread-safe
...
Not that it is likely to matter in practice, but since these are public
API they should probably be thread-safe.
2011-12-25 22:49:59 +00:00
Tim-Philipp Müller
700e745167
gdp: dataprotocol, lfocontrolsource: fix enum value name in enums that are public API
...
So run-time bindings can introspect the names correctly (we abuse this
field as description field only in elements, not for public API
(where the description belongs into the gtk-doc chunk).
https://bugzilla.gnome.org/show_bug.cgi?id=629946
2011-12-25 22:49:59 +00:00
Benjamin Otte
779da2ef0b
gdp: Fixes for -Wmissing-declarations -Wmissing-prototypes
...
Also adds those flags to the configure warning flags
https://bugzilla.gnome.org/show_bug.cgi?id=611692
2011-12-25 22:49:59 +00:00
Benjamin Otte
6e44ef60fa
gdp: Make code safe for -Wredundant-decls
...
Adds that warning to configure.ac
Includes a tiny change of the GST_BOILERPLATE_FULL() macro:
The get_type() function is no longer declared before being defined.
https://bugzilla.gnome.org/show_bug.cgi?id=611692
2011-12-25 22:49:59 +00:00
Stefan Kost
0dc9475fa9
gdp: fix broken xrefs in docs
2011-12-25 22:49:59 +00:00
Sebastian Dröge
31a9af5a2b
gdp: Don't write to the same region of memory as a uint64 and uint16 as this breaks ...
...
Original commit message from CVS:
* libs/gst/dataprotocol/dataprotocol.c:
Don't write to the same region of memory as a uint64 and uint16
as this breaks strict aliasing rules and apparantly breaks on PPC
and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114 .
2011-12-25 22:49:59 +00:00
Michael Smith
d8942dc0db
gdp: When calculating GDP body CRC, use the correct pointer.
...
Original commit message from CVS:
* libs/gst/dataprotocol/dataprotocol.c:
(gst_dp_packet_from_event_1_0):
When calculating GDP body CRC, use the correct pointer.
Fixes part of #522401 .
2011-12-25 22:49:58 +00:00
Sebastian Dröge
1998871b39
gdp: Correct all relevant warnings found by the sparse semantic code analyzer. This include marking several symbols static...
...
Original commit message from CVS:
* gst/gstconfig.h.in:
* libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
* libs/gst/check/gstcheck.c: (gst_check_log_message_func),
(gst_check_log_critical_func), (gst_check_drop_buffers),
(gst_check_element_push_buffer_list):
* libs/gst/controller/gstcontroller.c: (gst_controller_get),
(gst_controller_get_type):
* libs/gst/controller/gsthelper.c: (gst_object_control_properties),
(gst_object_get_controller), (gst_object_get_control_source):
* libs/gst/controller/gstinterpolationcontrolsource.c:
(gst_interpolation_control_source_new):
* libs/gst/controller/gstlfocontrolsource.c:
(gst_lfo_control_source_new):
* libs/gst/dataprotocol/dataprotocol.c:
(gst_dp_event_from_packet_0_2):
* plugins/elements/gstfdsrc.c:
* plugins/elements/gstmultiqueue.c:
* plugins/elements/gsttee.c:
* plugins/elements/gsttypefindelement.c:
* plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
(gst_file_index_add_association):
* plugins/indexers/gstmemindex.c:
* tests/benchmarks/gstpollstress.c: (mess_some_more):
* tests/check/elements/queue.c: (setup_queue):
* tests/check/gst/gstpipeline.c:
* tests/check/libs/collectpads.c: (setup), (teardown),
(gst_collect_pads_suite):
* tests/examples/adapter/adapter_test.c:
* tests/examples/metadata/read-metadata.c: (make_pipeline):
* tests/examples/xml/createxml.c:
* tests/examples/xml/runxml.c:
* tools/gst-inspect.c:
* tools/gst-run.c:
Correct all relevant warnings found by the sparse semantic code
analyzer. This include marking several symbols static, using
NULL instead of 0 for pointers, not using variable sized arrays
on the stack, moving variable declarations to the beginning of
a block and using "foo (void)" instead of "foo ()" for declarations.
2011-12-25 22:49:58 +00:00
Damien Lespiau
ecb3018196
gdp: Fix empty prototypes. Fixes bug #507957 .
...
Original commit message from CVS:
Patch by: Damien Lespiau <damien.lespiau@gmail.com>
* libs/gst/controller/gstcontroller.h:
* libs/gst/controller/gstcontrolsource.h:
* libs/gst/controller/gstinterpolationcontrolsource.h:
* libs/gst/controller/gstlfocontrolsource.h:
* libs/gst/dataprotocol/dataprotocol.h:
Fix empty prototypes. Fixes bug #507957 .
2011-12-25 22:49:58 +00:00
Tim-Philipp Müller
16e18f3e1a
gdp: g_type_class_ref() other types as well, see #349410 and #64764 .
...
Original commit message from CVS:
* gst/gst.c: (init_post):
* gst/gstevent.c: (_gst_event_initialize):
* gst/gstquery.c: (_gst_query_initialize):
* libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
g_type_class_ref() other types as well, see #349410 and #64764 .
* gst/gstbuffer.c: (_gst_buffer_initialize):
* gst/gstmessage.c: (_gst_message_initialize):
Simplify existing g_type_class_ref().
2011-12-25 22:49:58 +00:00
Tim-Philipp Müller
5cc09472a0
gdp: Printf fixes.
...
Original commit message from CVS:
* gst/gstpad.c: (pre_activate):
* gst/gstregistry.c: (gst_registry_scan_path_level):
* gst/gstregistryxml.c: (load_plugin):
* libs/gst/controller/gstcontroller.c:
(gst_controlled_property_set_interpolation_mode):
* libs/gst/dataprotocol/dataprotocol.c:
(gst_dp_packet_from_event_1_0):
* libs/gst/net/gstnetclientclock.c:
(gst_net_client_clock_observe_times):
* plugins/elements/gstfdsrc.c: (gst_fd_src_create):
Printf fixes.
2011-12-25 22:49:58 +00:00
Andy Wingo
e43c4dd2ff
gdp: GST_DISABLE_DEPRECATED is only for users of API that don't want to see deprecated functions in the headers; people th...
...
Original commit message from CVS:
2006-08-11 Andy Wingo <wingo@pobox.com>
* configure.ac:
* libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
* tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
is only for users of API that don't want to see deprecated
functions in the headers; people that want to compile out
deprecated code should pass -DGST_REMOVE_DEPRECATED into the
CFLAGS. Fixes the build of multifdsink, or will soon..
2011-12-25 22:49:58 +00:00
Stefan Kost
cfd6f763a7
gdp: add gst_object_{s,g}et_control_rate(), add private data section, fix docs
...
Original commit message from CVS:
* docs/libs/gstreamer-libs-sections.txt:
* libs/gst/controller/gstcontroller.c:
(_gst_controller_get_property), (_gst_controller_set_property),
(_gst_controller_init), (_gst_controller_class_init):
* libs/gst/controller/gstcontroller.h:
* libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
(gst_object_set_control_rate):
API: add gst_object_{s,g}et_control_rate(), add private data section,
fix docs
* libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
* libs/gst/dataprotocol/dataprotocol.h:
add deprecation guards to make gtk-doc happy and allow disabling cruft
2011-12-25 22:49:58 +00:00
Wim Taymans
073ad7d9c9
gdp: Make debug category static
...
Original commit message from CVS:
* libs/gst/dataprotocol/dataprotocol.c:
(gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
(gst_dp_crc), (gst_dp_header_payload_length),
(gst_dp_header_payload_type), (gst_dp_packet_from_event),
(gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
(gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
(gst_dp_event_from_packet), (gst_dp_validate_header),
(gst_dp_validate_payload):
Make debug category static
Constify the crc table.
Do some more arg checking in public functions.
Fix some docs and do some small cleanups.
* tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
Add some more checks to see if GDP deals with bogus input.
2011-12-25 22:49:58 +00:00
Thomas Vander Stichele
6dc77f5db1
gdp: fix failure to deserialize event packets with empty payload (only ev...
...
Original commit message from CVS:
* libs/gst/dataprotocol/dataprotocol.c:
(gst_dp_event_from_packet_1_0):
Fixes #347337 : failure to deserialize event packets with
empty payload (only event type)
2011-12-25 22:49:58 +00:00
Thomas Vander Stichele
714f14783e
gdp: add a gdp image to the docs
...
Original commit message from CVS:
* docs/README:
* docs/images/gdp-header.svg:
add a gdp image
* docs/libs/Makefile.am:
* docs/libs/gdp-header.png:
* libs/gst/dataprotocol/dataprotocol.c:
add it to the API docs
* docs/manual/intro-motivation.xml:
fix typo
2011-12-25 22:49:58 +00:00
Thomas Vander Stichele
b09b5bc073
gdp: add note to docs about GDP versioning; remove tmpl file
...
Original commit message from CVS:
add note to docs about GDP versioning; remove tmpl file
2011-12-25 22:49:58 +00:00
Thomas Vander Stichele
99e9c6d633
gdp: add a GstDPPacketizer object, and create/free functions
...
Original commit message from CVS:
* libs/gst/dataprotocol/dataprotocol.c:
(gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
(gst_dp_version_get_type), (gst_dp_init),
(gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
(gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
(gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
(gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
(gst_dp_event_from_packet), (gst_dp_packetizer_new),
(gst_dp_packetizer_free):
* libs/gst/dataprotocol/dataprotocol.h:
API: add a GstDPPacketizer object, and create/free functions
API: add GstDPVersion enum
Add 1.0 event function that uses the string serialization
Serialize more useful buffer flags
Fixes #343988
2011-12-25 22:49:58 +00:00
Thomas Vander Stichele
207c0ce3f1
gdp: factor out CRC code
...
Original commit message from CVS:
* libs/gst/dataprotocol/dataprotocol.c:
(gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
(gst_dp_packet_from_event):
factor out CRC code
2011-12-25 22:49:58 +00:00
Thomas Vander Stichele
cbb7337a93
gdp: factor out some common header init code
...
Original commit message from CVS:
* libs/gst/dataprotocol/dataprotocol.c:
(gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
(gst_dp_packet_from_event):
factor out some common header init code
2011-12-25 22:49:58 +00:00
Thomas Vander Stichele
c0fc54e2b4
gdp: make gst_dp_crc() public
...
Original commit message from CVS:
* docs/libs/gstreamer-libs-sections.txt:
* docs/libs/tmpl/gstdataprotocol.sgml:
* libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
* libs/gst/dataprotocol/dataprotocol.h:
API: make gst_dp_crc() public
2011-12-25 22:49:58 +00:00
Thomas Vander Stichele
e0e93cd3d1
gdp: make sure we zero the whole ABI-compatible area
...
Original commit message from CVS:
* libs/gst/dataprotocol/dataprotocol.c:
(gst_dp_header_from_buffer):
make sure we zero the whole ABI-compatible area
2011-12-25 22:49:58 +00:00