Tim-Philipp Müller
1c77a3d801
encodebin: don't access GstElementFactory structure directly
2012-05-19 15:17:18 +01:00
Alban Browaeys
71e39c0e84
playsink: do not abort if a property is not found.
...
If a property is not found (for example last-sample when
gst_debug_bin_to_dot_file is used while the pipeline is
slightly broken (thus no last-sample) the unref of the item
gvalue which is not refed fails. Only unref if it was found.
2012-05-15 09:22:44 +02:00
Alban Browaeys
7e054c9af0
playsink: missing guard around gst pad add probe
...
This miss prevent from switching from one track to the other.
Issue encountered with rhythmbox and totem ports.
2012-05-15 09:22:12 +02:00
Mark Nauwelaerts
4ce453de97
playbin2: default text element is now subtitleoverlay
...
... and not so much textoverlay, though the former also uses the latter.
2012-05-14 10:14:36 +02:00
Tim-Philipp Müller
0e216d1f4c
typefinding, ogg: don't bother with annodex media types
...
They're hardly used, and probably more confusing than anything
else, and it's not clear that anyone would really need to be
able to tell them apart at the media type level.
2012-05-13 18:49:31 +01:00
Руслан Ижбулатов
d34b8023e9
playsink: fix printf arguments in debug message
2012-05-12 13:53:40 +01:00
Wim Taymans
6bd0272512
uridecodebin: fix format strings
2012-05-11 16:16:33 +02:00
Wim Taymans
cd1d6f7d2d
decodebin2: fix format strings
2012-05-11 15:33:31 +02:00
Wim Taymans
163720246e
decodebin2: fix compilation
2012-05-11 09:26:47 +02:00
Thibault Saunier
445c41963b
playback: Check type when setting "connection-speed" on unknown elements
...
Clamp the values if needed
2012-05-10 13:21:04 -04:00
Thibault Saunier
ee4ae0041c
decodebin2: Add a connection-speed property to set it on demuxers when needed
...
Proxy it from uridecodebin
2012-05-10 13:11:47 -04:00
Sebastian Dröge
cc717f1f62
playsink: Initialize variable to silence wrong compiler warning
2012-05-09 12:03:44 +02:00
Sebastian Dröge
d7371bc87c
playsink: Port changes to 0.11
2012-05-09 10:30:55 +02:00
Mark Nauwelaerts
e623bea6fa
playbin2: properly reconfigure upon subsequent no-more-pads
...
... such as during switch in chained ogg.
2012-05-09 10:28:35 +02:00
Sebastian Dröge
4e649b5bff
videotestsrc: Update for basesrc API changes
2012-05-01 13:33:20 +02:00
Wim Taymans
7736044d45
playsink: make playsink reusable
...
The sinkpads are unblocked when going from PAUSED->READY, we need to block them
again when going READY->PAUSED. The blocking of the pad previously only happened
when it was freshly obtained with _request_pad or when the caps changed. If we
don't release the pad when going to READY it was previously never blocked again
causing not-linked errors.
2012-05-01 12:19:11 +02:00
Wim Taymans
f21b7437e7
playsink: don't leak the colorbalance element
2012-05-01 12:09:31 +02:00
Tim-Philipp Müller
0bd4e5d1e1
typefinding: more fine-grained matroska/webm typefinding
...
Typefind to audio/x-matroska, video/x-matroska, audio/webm,
video/webm and video/x-matroska-3d.
http://www.webmproject.org/code/specs/container/#naming
http://matroska.org/technical/specs/notes.html
2012-04-28 15:51:03 +01:00
Mark Nauwelaerts
9ea22283d0
gdppay: plug buffer leak
2012-04-25 22:28:44 +02:00
Mark Nauwelaerts
56602aa8fc
tcpclientsink: ensure proper cleanup upon startup error
2012-04-24 17:15:23 +02:00
Sebastian Dröge
ecb7156822
subparse: Allow newlines/whitespace at the beginning of subrip files
...
For example the Sintel subtitles have this and without this change
they're detected as text/plain and not usable as subtitles. The
parser itself already handles this just fine.
2012-04-24 10:16:45 +02:00
Sebastian Dröge
c84108de3c
video: Update for libgstvideo API changes
2012-04-19 12:30:57 +02:00
Mark Nauwelaerts
a008aa0b46
collectpads2: rename to collectpads
2012-04-17 15:09:58 +02:00
Mark Nauwelaerts
b1a90e43c8
adder: correctly adjust to modified collectpads2 event handling
2012-04-17 13:50:29 +02:00
Akihiro Tsukada
94beeb713a
playbin2: Don't hold the playbin lock in the autoplug-continue callback
...
It's not necessary there as the group lock already protects everything
we access here and causes deadlocks in some cases.
Fixes bug #673708 .
2012-04-17 09:57:17 +02:00
Mark Nauwelaerts
1f995a1c7e
adder: chain up to collectpads event handler
2012-04-16 16:30:38 +02:00
Matej Knopp
b6765417e1
decodebin: Do not block on sticky and oob events
2012-04-16 13:49:07 +02:00
Sebastian Dröge
fe9041bd05
decodebin2: Check that properties have the correct type before using them
2012-04-16 08:27:20 +02:00
Sebastian Dröge
15d92392b5
uridecodebin: Check that properties have the correct type before using them
2012-04-16 08:27:09 +02:00
Tim-Philipp Müller
497d87061d
typefinding: more fine-grained ogg typefinding
...
Typefind to audio/ogg, video/ogg, etc. Also change
application/x-annodex to application/annodex.
See http://wiki.xiph.org/MIME_Types_and_File_Extensions
2012-04-15 22:38:10 +01:00
Julian Scheel
fd4c8d9252
uridecodebin: Never treat live sources as streaming sources.
...
For streaming sources a queue is added before the demuxer, which can not be
properly filled by live sources. As http source can be live sources, this
caused issues for example with http live sources.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=674057
2012-04-14 10:52:26 +02:00
Sebastian Dröge
69b18ab09d
gst-libs: Remove interfaces libs and mixer/tuner interfaces
...
The navigation interface is now in the video library.
2012-04-13 13:14:13 +02:00
Mark Nauwelaerts
62cc0cade7
tcp: update property documentation to reference correct property
2012-04-11 21:45:46 +02:00
Tim-Philipp Müller
3c6a3ad629
Use new gst_element_class_set_static_metadata()
2012-04-10 00:45:16 +01:00
Sebastian Dröge
ec2e470ecc
playback: Remove gstdecodebin.c, which is nowaday unused anyway
2012-04-06 10:54:42 +02:00
Sebastian Dröge
ad42b16375
gst: Update for GST_PLUGIN_DEFINE() API change
2012-04-05 15:11:05 +02:00
Mark Nauwelaerts
0ad7fe0590
encodebin: release additional obtained caps reference
2012-04-04 19:57:27 +02:00
Thiago Santos
6eee006e82
Merge branch '0.10'
2012-04-04 13:56:17 -03:00
Thiago Santos
4b349306b0
playbin2: Use new playsink send-event-mode property
...
Set playsink's send-event-mode to MODE_FIRST as playbin2 only
needs one event going to the demuxer for its operation
https://bugzilla.gnome.org/show_bug.cgi?id=673211
2012-04-04 11:38:29 -03:00
Thiago Santos
84abbe0d52
playsink: add send-event-mode property
...
Adds a property for playsink to define how it should handle
events sent in send_event function. The default is the same as
GstBin's, sending events to all internal sinks. There is also
mode-first, that will send to sinks until the one handles the
event successfully.
https://bugzilla.gnome.org/show_bug.cgi?id=673211
2012-04-04 11:38:29 -03:00
Sebastian Dröge
65307dd132
gst: Update versioning
2012-04-04 14:55:15 +02:00
Mark Nauwelaerts
481b1beece
adder: event handling and leak fixes
2012-04-03 18:31:24 +02:00
Mark Nauwelaerts
6656affdfa
videoconvert: plug caps leak
2012-04-02 17:03:48 +02:00
Raimo Järvi
086bee8c14
tcp: Fix compiling with mingw
...
https://bugzilla.gnome.org/show_bug.cgi?id=673056
2012-04-02 11:26:45 +02:00
Wim Taymans
b52c035f13
audioconvert: remove useless transform_ip function
2012-04-02 11:21:26 +02:00
Wim Taymans
bf908a385b
volume: use transform_ip_on_passthrough
2012-04-02 11:11:33 +02:00
Wim Taymans
9ef519d99a
Improve buffer allocation of wrapped memory
2012-04-01 18:11:23 +02:00
Wim Taymans
345dc31f20
update for buffer api change
2012-03-30 18:15:30 +02:00
Mark Nauwelaerts
aaf84a941e
audioconvert: plug caps leak
2012-03-30 16:56:40 +02:00
Edward Hervey
05a778b1c4
typefind: Use unchecked byte reader methods where possible
...
The size is checked before, so we can use them.
2012-03-30 12:04:15 +02:00
Sebastian Dröge
9e13d70b2c
Merge remote-tracking branch 'origin/0.10'
...
Conflicts:
gst-libs/gst/video/video-overlay-composition.c
tests/check/libs/video.c
2012-03-29 15:00:22 +02:00
Wim Taymans
69298c5534
update for buffer changes
2012-03-28 12:53:01 +02:00
Sebastian Dröge
4872c7bf75
playsink: Fix subtitle rendering if there's no video, no visualizations but a text-sink
2012-03-23 11:07:49 +01:00
Wim Taymans
1982d1ce12
Release 0.11.3
2012-03-22 15:51:39 +01:00
Wim Taymans
32bd12dba9
Merge branch 'master' into 0.11
...
Conflicts:
.gitignore
common
configure.ac
ext/vorbis/gstvorbisdeclib.h
gst-libs/gst/audio/gstaudioencoder.c
gst-libs/gst/riff/riff-read.c
gst/playback/gstplaysink.c
gst/playback/gstplaysinkconvertbin.c
tests/check/libs/video.c
2012-03-22 11:35:13 +01:00
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
Thomas Vander Stichele
8afe1aa8e9
gdp: whitespace, comment, doc fixup
...
Original commit message from CVS:
whitespace, comment, doc fixup
2011-12-25 22:49:58 +00:00
Michael Smith
039571d013
gdp: Fixes in reading/writing events over GDP (not currently used?) - dereferencing ...
...
Original commit message from CVS:
* libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
(gst_dp_event_from_packet):
Fixes in reading/writing events over GDP (not currently used?) -
dereferencing NULL events for unknown/invalid event types, memory
leak, and change g_warning to GST_WARNING.
2011-12-25 22:49:58 +00:00
Michael Smith
ed4d76a9f0
gdp: Fix docs for dataprocotol to not get the return types completely wrong for a fe...
...
Original commit message from CVS:
* libs/gst/dataprotocol/dataprotocol.c:
Fix docs for dataprocotol to not get the return types completely
wrong for a few functions.
2011-12-25 22:49:57 +00:00
Wim Taymans
76424103fe
gdp: Documentation updates.
...
Original commit message from CVS:
* libs/gst/base/gstadapter.c:
* libs/gst/base/gstadapter.h:
* libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
(gst_base_sink_get_position):
* libs/gst/base/gstbasesink.h:
* libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
(gst_base_src_default_query), (gst_base_src_default_do_seek),
(gst_base_src_do_seek), (gst_base_src_perform_seek),
(gst_base_src_send_event), (gst_base_src_update_length),
(gst_base_src_get_range), (gst_base_src_loop),
(gst_base_src_start):
* libs/gst/base/gstbasesrc.h:
* libs/gst/base/gstbasetransform.h:
* libs/gst/base/gstcollectpads.h:
* libs/gst/base/gstpushsrc.c:
* libs/gst/base/gstpushsrc.h:
* libs/gst/dataprotocol/dataprotocol.c:
* libs/gst/dataprotocol/dataprotocol.h:
* libs/gst/net/gstnetclientclock.h:
* libs/gst/net/gstnettimeprovider.h:
Documentation updates.
2011-12-25 22:49:57 +00:00
Andy Wingo
8572c5fc76
gdp: Fix Timmeke Waymans bug.
...
Original commit message from CVS:
2005-10-13 Andy Wingo <wingo@pobox.com>
* libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
Fix Timmeke Waymans bug.
(gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
string of the proper length to gst_caps_from_string. There's a
potential for, before this fix, that this could cause someone
connecting over the network to cause a segfault if the payload is
not NUL-terminated.
2011-12-25 22:49:57 +00:00
Thomas Vander Stichele
68158437c5
gdp: fix more valgrind warnings before turning up the heat
...
Original commit message from CVS:
fix more valgrind warnings before turning up the heat
2011-12-25 22:49:57 +00:00
Wim Taymans
cc0ba720a4
gdp: It's about time we bump the version number.
...
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):
* libs/gst/dataprotocol/dataprotocol.h:
* libs/gst/dataprotocol/dp-private.h:
It's about time we bump the version number.
Since event types don't fit in the guint8 anymore describing
the payload type, make payload type 16 bits wide.
2011-12-25 22:49:57 +00:00
Andy Wingo
80ccce89c1
gdp: Fix error-checking return values.
...
Original commit message from CVS:
2005-09-27 Andy Wingo <wingo@pobox.com>
* libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
values.
2011-12-25 22:49:57 +00:00
Wim Taymans
784ffd1b4f
gdp: Fix serialization of seek events.
...
Original commit message from CVS:
* libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
(gst_dp_event_from_packet):
Fix serialization of seek events.
2011-12-25 22:49:57 +00:00
Wim Taymans
0d96e7ec13
gdp: Some docs updates
...
Original commit message from CVS:
* CHANGES-0.9:
* docs/design/part-TODO.txt:
* docs/design/part-events.txt:
Some docs updates
* gst/base/gstbasesink.c: (gst_base_sink_handle_object),
(gst_base_sink_event), (gst_base_sink_do_sync),
(gst_base_sink_activate_push), (gst_base_sink_activate_pull):
* gst/base/gstbasesrc.c: (gst_base_src_send_discont),
(gst_base_src_do_seek), (gst_base_src_event_handler),
(gst_base_src_loop):
* gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
(gst_base_transform_configure_caps), (gst_base_transform_setcaps),
(gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
(gst_base_transform_event), (gst_base_transform_handle_buffer),
(gst_base_transform_set_passthrough),
(gst_base_transform_is_passthrough):
* gst/elements/gstfakesink.c: (gst_fake_sink_event):
* gst/elements/gstfilesink.c: (gst_file_sink_event):
Event updates.
* gst/gstbuffer.h:
Use faster casts.
* gst/gstelement.c: (gst_element_seek):
* gst/gstelement.h:
Update gst_element_seek.
* gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
(gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
(gst_event_new_flush_start), (gst_event_new_flush_stop),
(gst_event_new_eos), (gst_event_new_newsegment),
(gst_event_parse_newsegment), (gst_event_new_tag),
(gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
(gst_event_parse_qos), (gst_event_new_seek),
(gst_event_parse_seek), (gst_event_new_navigation):
* gst/gstevent.h:
Make GstEvent use GstStructure. Add parsing code, make sure the
API is sufficiently generic.
Mark possible directions of events and serialization.
* gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
(_gst_message_copy), (gst_message_new_segment_start),
(gst_message_new_segment_done), (gst_message_new_custom),
(gst_message_parse_segment_start),
(gst_message_parse_segment_done):
Small cleanups.
* gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
(gst_pad_set_caps), (gst_pad_send_event):
Update for new events.
Catch events sent in wrong directions.
* gst/gstqueue.c: (gst_queue_link_src),
(gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
(gst_queue_handle_src_query):
Event updates.
* gst/gsttag.c:
* gst/gsttag.h:
Remove event code from this file.
* libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
(gst_dp_event_from_packet):
Event updates.
2011-12-25 22:49:57 +00:00
Wim Taymans
9e03fd9fc0
gdp: Ported dataprotol to 0.9.
...
Original commit message from CVS:
* configure.ac:
* libs/gst/dataprotocol/Makefile.am:
* libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
* libs/gst/dataprotocol/dataprotocol.h:
* pkgconfig/Makefile.am:
* pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
* pkgconfig/gstreamer-dataprotocol.pc.in:
Ported dataprotol to 0.9.
Added pkgconfig files.
2011-12-25 22:49:57 +00:00
David Schleef
9485580372
gdp: remove GstData checks
...
Original commit message from CVS:
* check/Makefile.am: remove GstData checks
* check/gst-libs/gdp.c: (START_TEST): fix for API changes
* gst/Makefile.am: add miniobject, remove data
* gst/gst.h: add miniobject, remove data
* gst/gstdata.c: remove
* gst/gstdata.h: remove
* gst/gstdata_private.h: remove
* gst/gsttypes.h: remove GstEvent and GstMessage
* gst/gstelement.c: (gst_element_post_message): fix for API changes
* gst/gstmarshal.list: change BOXED -> OBJECT
Implement GstMiniObject.
* gst/gstminiobject.c:
* gst/gstminiobject.h:
Modify to be subclasses of GstMiniObject.
* gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
(gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
(gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
(gst_subbuffer_get_type), (gst_subbuffer_init),
(gst_buffer_create_sub), (gst_buffer_is_span_fast),
(gst_buffer_span):
* gst/gstbuffer.h:
* gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
(gst_event_class_init), (gst_event_init), (gst_event_finalize),
(_gst_event_copy), (gst_event_new):
* gst/gstevent.h:
* gst/gstmessage.c: (_gst_message_initialize),
(gst_message_get_type), (gst_message_class_init),
(gst_message_init), (gst_message_finalize), (_gst_message_copy),
(gst_message_new), (gst_message_new_error),
(gst_message_new_warning), (gst_message_new_tag),
(gst_message_new_state_changed), (gst_message_new_application):
* gst/gstmessage.h:
* gst/gstprobe.c: (gst_probe_perform),
(gst_probe_dispatcher_dispatch):
* gst/gstprobe.h:
* gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
(gst_query_class_init), (gst_query_finalize), (gst_query_init),
(_gst_query_copy), (gst_query_new):
Update elements for GstData -> GstMiniObject changes
* gst/gstquery.h:
* gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
(gst_queue_chain), (gst_queue_loop):
* gst/elements/gstbufferstore.c:
(gst_buffer_store_add_buffer_func),
(gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
* gst/elements/gstfakesink.c: (gst_fakesink_class_init),
(gst_fakesink_render):
* gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
* gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
(gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
(gst_mmap_buffer_finalize), (gst_filesrc_map_region),
(gst_filesrc_create_read):
* gst/elements/gstidentity.c: (gst_identity_class_init):
* gst/elements/gsttypefindelement.c:
(gst_type_find_element_src_event), (free_entry_buffers),
(gst_type_find_element_handle_event):
* libs/gst/dataprotocol/dataprotocol.c:
(gst_dp_header_from_buffer):
* libs/gst/dataprotocol/dataprotocol.h:
* libs/gst/dataprotocol/dp-private.h:
2011-12-25 22:49:57 +00:00
Andy Wingo
9867259b81
gdp: GCC 4 fixen.
...
Original commit message from CVS:
2005-05-04 Andy Wingo <wingo@pobox.com>
* check/Makefile.am:
* docs/gst/tmpl/gstatomic.sgml:
* docs/gst/tmpl/gstplugin.sgml:
* gst/base/gstbasesink.c: (gst_basesink_activate):
* gst/base/gstbasesrc.c: (gst_basesrc_class_init),
(gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
(gst_basesrc_query), (gst_basesrc_set_property),
(gst_basesrc_get_property), (gst_basesrc_check_get_range),
(gst_basesrc_activate):
* gst/base/gstbasesrc.h:
* gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
(gst_base_transform_src_activate):
* gst/elements/gstelements.c:
* gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
(gst_fakesrc_set_property), (gst_fakesrc_get_property):
* gst/elements/gsttee.c: (gst_tee_sink_activate):
* gst/elements/gsttypefindelement.c: (find_element_get_length),
(gst_type_find_element_checkgetrange),
(gst_type_find_element_activate):
* gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
* gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
(gst_caps_load_thyself):
* gst/gstelement.c: (gst_element_pads_activate),
(gst_element_save_thyself), (gst_element_restore_thyself):
* gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
(gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
* gst/gstpad.h:
* gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
(gst_xml_parse_file), (gst_xml_parse_memory),
(gst_xml_get_element), (gst_xml_make_element):
* gst/indexers/gstfileindex.c: (gst_file_index_load),
(_file_index_id_save_xml), (gst_file_index_commit):
* gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
(read_enum), (load_pad_template), (load_feature), (load_plugin),
(load_paths):
* libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
(gst_dp_packet_from_event), (gst_dp_caps_from_packet):
* tools/gst-complete.c: (main):
* tools/gst-compprep.c: (main):
* tools/gst-inspect.c: (print_element_properties_info):
* tools/gst-launch.c: (xmllaunch_parse_cmdline):
* tools/gst-xmlinspect.c: (print_element_properties):
GCC 4 fixen.
2011-12-25 22:49:57 +00:00
Wim Taymans
1e5ba07cbb
gdp: Next big merge.
...
Original commit message from CVS:
Next big merge.
Added GstBus for mainloop integration.
Added GstMessage for sending notifications on the bus.
Added GstTask as an abstraction for pipeline entry points.
Removed GstThread.
Removed Schedulers.
Simplified GstQueue for multithreaded core.
Made _link threadsafe, removed old capsnego.
Added STREAM_LOCK and PREROLL_LOCK in GstPad.
Added pad blocking functions.
Reworked scheduling functions in GstPad to prepare for
scheduling updates soon.
Moved events out of data stream.
Simplified GstEvent types.
Added return values to push/pull.
Removed clocking from GstElement.
Added prototypes for state change function for next merge.
Removed iterate from bins and state change management.
Fixed some elements, disabled others for now.
Fixed -inspect and -launch.
Added check for GstBus.
2011-12-25 22:49:57 +00:00
Wim Taymans
d29a498d86
gdp: First THREADED backport attempt, focusing on adding locks and making sure the API is threadsafe. Needs more work. Mor...
...
Original commit message from CVS:
First THREADED backport attempt, focusing on adding locks and
making sure the API is threadsafe. Needs more work. More docs
follow this week.
2011-12-25 22:49:57 +00:00
Zaheer Abbas Merali
a3562d1fda
gdp: Allocate the 1 byte more memory that was forgotten!!!!!
...
Original commit message from CVS:
2005-02-18 Zaheer Abbas Merali <zaheerabbas at merali dot org>
* libs/gst/dataprotocol/dataprotocol.c: (gst_dp_dump_byte_array):
Allocate the 1 byte more memory that was forgotten!!!!!
2011-12-25 22:49:57 +00:00
Wim Taymans
c6ebc31067
gdp: Fix threadsafety of the crc checking function.
...
Original commit message from CVS:
* libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
Fix threadsafety of the crc checking function.
2011-12-25 22:49:57 +00:00
Thomas Vander Stichele
e8ef3dac6e
gdp: fix for #150242
...
Original commit message from CVS:
fix for #150242
2011-12-25 22:49:57 +00:00
Thomas Vander Stichele
6235216793
gdp: doc style fixes
...
Original commit message from CVS:
doc style fixes
2011-12-25 22:49:57 +00:00
Thomas Vander Stichele
b07fa6fc05
gdp: bump GDP to 0.1, add buffer flags
...
Original commit message from CVS:
bump GDP to 0.1, add buffer flags
2011-12-25 22:49:57 +00:00
Thomas Vander Stichele
047718e576
gdp: wrap header in _NEW
...
Original commit message from CVS:
wrap header in _NEW
2011-12-25 22:49:57 +00:00
Thomas Vander Stichele
44dc4f9608
Original commit message from CVS:
...
use GST macros; add asserts
2011-12-25 22:49:56 +00:00
Thomas Vander Stichele
889f9e1464
gdp: private prototype
...
Original commit message from CVS:
private prototype
2011-12-25 22:49:56 +00:00
Thomas Vander Stichele
b9dd8ca076
gdp: add dataprotocol
...
Original commit message from CVS:
clean up libs docs; add dataprotocol
2011-12-25 22:49:56 +00:00
Stefan Sauer
34cf6d1924
controller: port to new controlbinding api
2011-12-23 18:41:49 +01:00
Wim Taymans
a5f3d21723
videofilter: improve video filter
...
Flesh out the video filter base class. Make it parse the input and output caps
and turn them into GstVideoInfo. Map buffers as video frames and pass them to
the transform functions.
This allows us to also implement the propose and decide_allocation vmethods.
Implement the transform size method as well.
Update subclasses with the new improvements.
2011-12-21 23:46:53 +01:00
Wim Taymans
8a9c4ed69f
videofilter: implement propose_allocation
...
With the new video bufferpool we can now implement the propose_allocation
vmethod on some video filter elements so that we can also use video metadata and
bufferpools when not operating in passthrough mode.
2011-12-21 18:58:42 +01:00
Wim Taymans
db4d5af9b6
subtitle: don't use GST_CAPS_NONE macro
...
This macro returns a singleton.
2011-12-20 12:53:16 +01:00
Vincent Penquerc'h
85c10b0b24
adder: do not send too many flush-stop events
...
GstCollectPads2 now allows us to override the event function,
so we can withhold flush stop events if none are to be sent.
https://bugzilla.gnome.org/show_bug.cgi?id=666379
2011-12-16 20:12:01 +00:00
Vincent Penquerc'h
1da30adc1a
adder: use the stream lock where appropriate
...
GstCollectPads2 locking was changed from GstCollectPads to use
the stream lock instead of the object lock for those cases, so
change it so here as well to match.
https://bugzilla.gnome.org/show_bug.cgi?id=666379
2011-12-16 17:36:02 +00:00
Vincent Penquerc'h
bcaf5890aa
adder: send a flush event before trying to get the stream lock
...
This avoids hanging when the streaming thread is busy in _chain
waiting for preroll.
https://bugzilla.gnome.org/show_bug.cgi?id=666379
2011-12-16 17:36:02 +00:00
Vincent Penquerc'h
a3c5abf97f
adder: port to GstCollectPads2
2011-12-14 18:26:07 +00:00
Mark Nauwelaerts
60d5d08fbb
decodebin2: tweak chain topology description
...
... to also properly indicate chain's endpad if no elements are in the
chain (due to the endpad being a raw demuxer pad, or one setup without
decoders since uridecodebin or higher up decided not to need those).
2011-12-14 17:53:38 +01:00
Sebastian Dröge
cd11d68716
subtitleoverlay: Refactor code to check if a property exists on an element
2011-12-13 13:31:03 +01:00
Sebastian Dröge
87a4cbd0e3
subtitleoverlay: Refactor autoplugging code and select overlay element by rank too
...
Previously we always used textoverlay for rendering the output of
a parser, now the same code as for the renderers is used and the
element with the highest rank is used.
Fixes bug #663822 .
2011-12-13 13:31:03 +01:00
Tim-Philipp Müller
b950b930ae
Merge remote-tracking branch 'origin/master' into 0.11
2011-12-09 12:08:37 +00:00
Tim-Philipp Müller
debe9caa36
typefindfunctions: only typefind text with a BOM as text/utf16 or text/utf32
...
We added the utf typefinder because the mp3 typefinder was a tad
overzealous when it came to typefinding things as mp3, and replaced
it with even more overzealous utf16/32 typefinders.
Fixes unit test.
2011-12-09 01:33:58 +00:00
Tim-Philipp Müller
fb6d09055a
Merge remote-tracking branch 'origin/master' into 0.11
...
Conflicts:
ext/alsa/gstalsadeviceprobe.c
ext/alsa/gstalsamixer.c
ext/pango/gsttextoverlay.c
ext/pango/gsttextoverlay.h
gst-libs/gst/audio/gstaudiobasesink.c
gst-libs/gst/audio/gstaudioringbuffer.c
gst-libs/gst/audio/gstaudiosrc.c
gst-libs/gst/video/Makefile.am
gst-libs/gst/video/video.c
gst/encoding/gststreamcombiner.c
gst/encoding/gststreamsplitter.c
gst/playback/gstplaybasebin.c
gst/playback/gststreamsynchronizer.c
gst/playback/gstsubtitleoverlay.c
gst/playback/gsturidecodebin.c
sys/xvimage/xvimagesink.c
tests/examples/Makefile.am
win32/common/libgstvideo.def
Video overlay composition disabled for now, needs
porting to buffer meta.
2011-12-08 01:19:03 +00:00
Tim-Philipp Müller
99c7a51908
videorate: don't leak previous buffer when shutting down
...
Implement stop vfunc after port to basetransform, so we
can clean up properly. Fixes make elements/videorate.valgrind
2011-12-06 21:57:32 +00:00
Thibault Saunier
8728023f00
subtitleoverlay: add suport for hardware accelerated videos
...
Don't plug converters for non-raw video.
2011-12-06 12:44:24 +00:00
Stefan Sauer
43aa0a8aca
controller: port to GstValueArray removal API change
2011-12-06 08:37:32 +01:00
Wim Taymans
b53c02417c
Revert "videoconvert: We can handle GST_VIDEO_META_API"
...
This reverts commit bd539753eb
.
Adding the supported metadata to the query does nothing at this stage. Proposing
allocation parameters and supported metadata for upstream should use the
propose_allocation vmethod.
2011-12-05 20:33:41 +01:00
Edward Hervey
bd539753eb
videoconvert: We can handle GST_VIDEO_META_API
2011-12-05 18:30:50 +01:00
Tim-Philipp Müller
5440ae3c18
Suppress deprecation warnings in selected files, for g_static_rec_mutex_* mostly
...
GStaticRecMutex is part of our API/ABI, not much we can do here
in 0.10 for most of these.
2011-12-04 20:50:25 +00:00
Tim-Philipp Müller
0d98aa25b8
Work around deprecated thread API in glib master
...
Add private replacements for deprecated functions such as
g_mutex_new(), g_mutex_free(), g_cond_new() etc., mostly
to avoid the deprecation warnings. We'll change these
over to the new API once we depend on glib >= 2.32.
Replace g_thread_create() with g_thread_try_new().
2011-12-04 17:16:30 +00:00
Tim-Philipp Müller
177525f89f
Merge remote-tracking branch 'origin/master' into 0.11
...
Conflicts:
gst-libs/gst/netbuffer/gstnetbuffer.c
gst/ffmpegcolorspace/avcodec.h
gst/ffmpegcolorspace/gstffmpegcodecmap.c
gst/ffmpegcolorspace/imgconvert.c
gst/ffmpegcolorspace/imgconvert_template.h
gst/ffmpegcolorspace/mem.c
gst/playback/README
gst/playback/gstplaybasebin.c
gst/playback/gstplaybasebin.h
gst/playback/gstplaybin.c
sys/v4l/v4lmjpegsrc_calls.c
sys/v4l/videodev_mjpeg.h
tests/check/elements/gnomevfssink.c
2011-12-02 11:10:17 +00:00
Piotr Fusik
14644457b0
various: typo fixes
...
Fix typos in code and docs. Fixes. #658984
2011-12-02 12:03:27 +01:00
Tim-Philipp Müller
ec0d3566bf
Merge remote-tracking branch 'origin/master' into 0.11
...
Conflicts:
ext/alsa/gstalsasrc.c
ext/alsa/gstalsasrc.h
gst/adder/gstadder.c
gst/playback/gstplaybin2.c
gst/playback/gstplaysinkconvertbin.c
win32/common/libgstvideo.def
2011-12-02 00:07:39 +00:00
Wim Taymans
59113af604
Use the new GstSample for snapshots
...
Make appsink return a GstSample. Remove the pull_buffer_list method because it
is not very useful anymore.
Pass GstSample to the conversion function.
Update playbin2 and examples
2011-12-01 16:53:11 +01:00
Wim Taymans
892716e076
videoconvert: fix the transform_size function
...
The output size of a buffer does not depend on the input size but simply on the
caps of the output buffers. Don't let the base implementation deal with
unit_sizes, because input buffers might not be a multiple of that when they have
padding or non-default strides. instead, implement a transform size function
that simply calculate the natural size of an output buffer based on the caps.
2011-12-01 15:47:16 +01:00
Stefan Sauer
0cce8ab97d
adder: be more graceful in the clipfunction
...
Doing dynamic pipelines is hard in 0.10. As we don't have the sticky events in
0.10 and sending such events in special elements like adder and tee was outvoted
on last attempt, be graceful to the misbehaviour instead.
2011-12-01 12:03:17 +01:00
Tim-Philipp Müller
1bf8fa1e5f
playbin2: tone down debug message about file URIs with spaces
...
Complain a bit less loudly about URIs that have not been
escaped properly.
2011-11-30 23:58:19 +00:00
Sebastian Dröge
21b252727d
playsinkconvertbin: Don't send undefined NEWSEGMENT events to the internal elements
...
This happens when the internal elements are added before any NEWSEGMENT
event arrived and in that case we shouldn't send a NEWSEGMENT event
to the internal elements at all. They will get the NEWSEGMENT event
from upstream later.
2011-11-30 14:25:11 +01:00
Wim Taymans
47cbb230e9
audio: move audio interfaces
...
Move the audio related interfaces to the audio library.
2011-11-30 07:57:02 +01:00
Stefan Sauer
089c760993
adder: fill the audio-info that we use and not some random other one
2011-11-29 14:47:37 +01:00
Stefan Sauer
1cea9c851c
adder: unbreak adder
...
There was one line too much removed when porting.
2011-11-29 14:22:19 +01:00
Sebastian Dröge
e7853d3a3d
playbin2: Fix decoder-sink compatibility check for raw audio/video formats
...
If the sink supports raw audio/video, we first check
if the decoder could output any raw audio/video format
and assume it is compatible with the sink then. We don't
do a complete compatibility check here if converters
are plugged between the decoder and the sink because
the converters will convert between raw formats and
even if the decoder format is not supported by the decoder
a converter will convert it.
We assume here that the converters can convert between
any raw format.
Fixes bug #665120 .
2011-11-29 14:15:45 +01:00
Stefan Sauer
9debd13665
adder: fix deadly setcaps recursion
...
Use a flag to avoid calling setcaps until our stack is exhausted. I don't see how this would be useful.
2011-11-29 10:42:16 +01:00
Tim-Philipp Müller
0d87fd7146
Merge remote-tracking branch 'origin/master' into 0.11
...
Conflicts:
gst-libs/gst/fft/gstffts16.h
2011-11-28 21:25:11 +00:00
Philippe Normand
ed5279e3c5
typefindfunctions: Fix compiler warning
2011-11-28 20:10:49 +01:00
Alexey Fisher
36434c20eb
typefind: fix build error
...
fix build errors:
gsttypefindfunctions.c:248:25: error: 'low' may be used uninitialized in this function [-Werror=uninitialized]
gsttypefindfunctions.c:239:24: error: 'high' may be used uninitialized in this function [-Werror=uninitialized]
Signed-off-by: Alexey Fisher <bug-track@fisher-privat.net>
2011-11-28 18:10:55 +00:00
Sebastian Dröge
f179213aa0
playsinkconvertbin: Fix stupid mistake in last commit
2011-11-28 19:06:57 +01:00
Sebastian Dröge
c1b1e2b44e
playsinkconvertbin: Only return the converter caps if we actually have raw caps
...
Fixes bug #664818 (hopefully).
2011-11-28 19:03:54 +01:00
Kipp Cannon
4c52f4e625
audioresample: Don't emit DISCONT buffers if no discontinuity happened
...
audioresample is derived from GstBaseTransform, and one of
GstBaseTransform's traits is that if the derived element does not
produce an output buffer from some input buffer then the first output
buffer after that gets flaged as a discontinuity, whether or not the
buffer actually is discontinuous from the output buffer that preceded
it. When downsampling, the audioresample element requires more than
one input sample for each output sample, and if the ratio of input to
output sample rates is high enough and the input buffers short enough
it can come to pass that the resampler does not receive enough samples
on its input to produce any output. Currently the resampler returns
GST_BASE_TRANSFORM_FLOW_DROPPED from the transform() method in this case,
causing the next buffer to be flagged as a discontinuity. If subsequent
elements in the pipeline reset themselves on disconts, this can cause
clicks and other undesireable behaviour.
Fixes bug #665004 .
2011-11-28 18:03:22 +01:00
Vincent Penquerc'h
e67aa28de9
typefind: typefind UTF-16 and UTF-32
...
This avoids the MP3 typefinder from getting the highest score
every time it thinks there's something it might possibly be
able to parse.
https://bugzilla.gnome.org/show_bug.cgi?id=607619
2011-11-28 15:58:29 +00:00
Wim Taymans
b4cdf008dd
fix for element flag cleanups
2011-11-28 16:55:32 +01:00
Vincent Penquerc'h
96374054ac
various: fix pad template leaks
...
https://bugzilla.gnome.org/show_bug.cgi?id=662664
2011-11-28 13:09:02 +00:00
Matej Knopp
2c55cc7bcb
uridecodebin: fix debug message printf format compiler warning
...
https://bugzilla.gnome.org/show_bug.cgi?id=662607
2011-11-27 22:43:20 +00:00
Tim-Philipp Müller
32b14c6ed3
Merge remote-tracking branch 'origin/master' into 0.11
...
Conflicts:
ext/vorbis/gstvorbisenc.c
gst/playback/gstdecodebin2.c
gst/playback/gstplaysinkconvertbin.c
gst/videorate/gstvideorate.c
2011-11-26 12:12:59 +00:00
Josep Torra
05ecdc1246
playsinkconvertbin: make identiy silent
2011-11-25 15:35:39 +01:00
Tim-Philipp Müller
2dc7c2f676
docs: mention explicitly that playbin2 signals are emitted from a streaming thread
2011-11-25 13:01:47 +00:00
Sebastian Dröge
a5535e76e0
decodebin2: Set the multiqueue limits to the playing limits after overrun too
...
We don't expect any new pads anymore and prerolling is finished now.
2011-11-25 11:12:10 +01:00
Sebastian Dröge
494b2cb1a7
decodebin2: Cache the upstream seekability for demuxer decode chains and use it for the non-preroll multiqueue limits
...
After preroll the multiqueue limits are still set to the preroll
limits if use-buffering is set to TRUE. In that case we only want
time limits on the multiqueue if upstream is seekable.
2011-11-25 11:12:10 +01:00
Vincent Penquerc'h
59f5d980f6
decodebin2: fix prerolling for low bitrate streams from hlsdemux
...
Such streams were detected as seekable, as the query on the typefind
element was testing the m3u8 file listing the actual streams, and
not going through the demuxer(s).
We now check for seekability for each multiqueue following a demuxer,
so the query will flow through the elements which might prevent seeking.
https://bugzilla.gnome.org/show_bug.cgi?id=647769
2011-11-25 11:12:10 +01:00
Sebastian Dröge
c6cffcfa19
videorate: Rename ARG_ enums to PROP_
...
This is more consistent with other code and these are
properties anyway, not arguments
2011-11-24 14:41:56 +01:00
Sebastian Dröge
ec062ef3f2
videorate: Add property to force an output framerate
...
API: GstVideoRate:force-fps
Changing the framerate during playback is not possible
with a capsfilter downstream if upstream is not using
gst_pad_alloc_buffer(). In that case there's no way in
0.10 to signal to videorate that the preferred framerate
has changed.
This new property will force the output framerate to
a specific value and can be changed during playback.
2011-11-24 14:40:38 +01:00
Sebastian Dröge
683735a01e
playsinkconvertbin: Reconfigure if we switch from raw to incompatible raw caps
...
We might need to add converters and worked in passthrough mode before.
2011-11-24 12:38:54 +01:00
Sebastian Dröge
113546b777
playsinkconvertbin: Override acceptcaps function for the two ghostpads
...
The ghostpad acceptcaps functions are not valid in this case because
we don't only accept the caps accepted by the target but could also
insert converters. Fixes bug #663892 .
2011-11-24 12:37:58 +01:00
Sebastian Dröge
8f165b6206
playsinkaudioconvert: use-volume and use-converters are no construct-only properties anymore
...
Fixes bug #663893 .
2011-11-24 11:34:12 +01:00
Vincent Penquerc'h
d69e4e7a2c
videoconvert: fix width/height mismatches
...
https://bugzilla.gnome.org/show_bug.cgi?id=663238
2011-11-24 11:09:20 +01:00
Mark Nauwelaerts
2c0b294005
videoconvert: fix odd width and height handling in some fastpath cases
2011-11-24 11:04:10 +01:00
Tim-Philipp Müller
95138db216
uridecodebin: double-check property type before blindly setting/proxying values
2011-11-24 01:30:50 +00:00
Tim-Philipp Müller
16f6d13980
playbin2, uridecodebin: make connection-speed property a guint64
2011-11-24 01:18:38 +00:00
Wim Taymans
7b45a7367b
Merge branch 'master' into 0.11
...
Conflicts:
ext/ogg/gstoggmux.c
2011-11-23 10:50:53 +01:00
René Stadler
da69993a49
playsinkconvertbin: avoid removing children from bin twice
...
GstBin base class removes children in dispose, so we need to do the same.
2011-11-22 10:05:33 +01:00
Wim Taymans
d0bd5f04c0
update for new scheduling query
2011-11-18 17:58:58 +01:00
Wim Taymans
e302833e65
add parent to pad functions
2011-11-17 12:48:25 +01:00
Stefan Sauer
67364dff4c
collectpads: port API changes
2011-11-17 08:43:23 +01:00
Wim Taymans
9e8e01502e
add parent to internal links
2011-11-16 17:50:03 +01:00
Wim Taymans
2202511e77
add parent to query function
2011-11-16 17:25:17 +01:00
Wim Taymans
28157e6f21
_query_peer_*() -> _peer_query_*()
2011-11-15 18:04:17 +01:00
Wim Taymans
026ec68f75
_peer_get_caps() -> _peer_query_caps()
2011-11-15 18:04:17 +01:00
Wim Taymans
7402d3a3d2
update for _get_caps() -> _query_caps()
2011-11-15 18:04:17 +01:00
Wim Taymans
ab9ffa93f5
change getcaps to query
...
Add sink and src event functions in rtpbasepayload
Add query vmethod to rtpbasepayload.
2011-11-15 18:04:16 +01:00
René Stadler
5f3c8eb680
audioconvert, videoconvert: fix caps leak in transform_caps
2011-11-12 01:38:37 +01:00
René Stadler
7651fa27dc
audioconvert: fix leak of channel matrix
...
gst_channel_mix_unset_matrix relies on the channel count to free the matrix
array, so run it before resetting it to zero with gst_audio_info_init.
2011-11-11 20:19:53 +01:00
René Stadler
94ce75319a
videotestsrc: fix crash with ARGB64
...
This got broken when it was ported.
2011-11-11 19:57:25 +01:00
Wim Taymans
2886955d18
Merge branch 'master' into 0.11
2011-11-11 19:36:23 +01:00
Tim-Philipp Müller
7b5e1666a4
playsinkconvertbin: fix visualisations again
...
Make caps writable before merging other caps into them.
2011-11-11 13:32:23 +00:00
Wim Taymans
6781587784
make the identity silent
2011-11-11 13:12:27 +01:00
Wim Taymans
ad8f694ec6
remove bogus files
...
They got somehow commited in 7012e88090
2011-11-11 10:39:52 +01:00
Stefan Sauer
e32ccd8e4e
controller: port controller api changes
2011-11-10 23:02:35 +02:00
Wim Taymans
e338792ab0
update for adapter api changes
2011-11-10 18:32:39 +01:00
Vincent Penquerc'h
7ca4b51b01
audioconvert: truncate caps in _fixate
...
Otherwise the resulting caps may not be fixed.
2011-11-10 14:38:09 +00:00
Wim Taymans
f2ab0b8f19
upates for new ACCEPT_CAPS query
2011-11-09 17:37:31 +01:00
Wim Taymans
372b9329b9
remove query types
2011-11-09 11:47:54 +01:00
Wim Taymans
36dce0ffda
remove streamselector
...
It was only used by playbin, which is gone now
2011-11-09 11:06:10 +01:00
Wim Taymans
8c6a2340e7
streamselector: GstSelectorPad -> GstStreamSelectorPad
...
Rename object to avoid conflicts with an object of the same name in core.
2011-11-09 10:53:38 +01:00
Wim Taymans
21bee358b2
streamselector: cleanups
2011-11-09 10:37:02 +01:00
Wim Taymans
308f6301a8
update for pad probe api changes
2011-11-08 11:08:21 +01:00
Vincent Penquerc'h
e4d27cfa60
videoconvert: fix r210 writing only half a scanline
2011-11-07 18:19:51 +00:00
Wim Taymans
616e9b706e
fix for new pad probe types
...
Restore the previous behaviour by only blocking downstream items and not
upstream events.
2011-11-07 17:10:48 +01:00
Wim Taymans
ef0247ae42
convertbin: port to 0.11 again
2011-11-07 12:43:52 +01:00
Wim Taymans
7ac25e9b26
Merge branch 'master' into 0.11
...
Conflicts:
common
configure.ac
gst-libs/gst/audio/gstbaseaudiosink.c
gst/playback/gstdecodebin2.c
gst/playback/gstplaysinkaudioconvert.c
gst/playback/gstplaysinkaudioconvert.h
gst/playback/gstplaysinkvideoconvert.c
gst/playback/gstplaysinkvideoconvert.h
2011-11-07 12:23:15 +01:00
Stefan Sauer
6cc887c53b
adder: don't ref NULL caps
2011-11-04 22:00:43 +01:00
Stefan Sauer
6c2f5317c7
volume: use new api to check activity of a controller
2011-11-04 21:00:29 +01:00
Stefan Sauer
0019bcaa47
controller: port to new location and api changes
2011-11-04 20:14:54 +01:00
Wim Taymans
b56ac475d3
playback: name conversion elements differently
2011-11-04 17:41:01 +01:00
Wim Taymans
7d9ccab8c6
uridecodebin: fix template name
2011-11-04 13:00:36 +01:00
Wim Taymans
cf8481b990
fix pad template names for request pads
2011-11-04 10:49:48 +01:00
Sebastian Dröge
7875ee11a5
subtitleoverlay: Use gst_caps_merge() instead of gst_caps_union()
...
This keeps the caps order and is more efficient.
2011-11-04 10:38:39 +01:00
Sebastian Dröge
6e9a302eca
playsinkconvertbin: Use gst_caps_merge() instead of gst_caps_union()
...
This keeps the caps order and is more efficient.
2011-11-04 10:38:38 +01:00
Wim Taymans
57fe2addef
update for request pads change.
2011-11-03 17:58:57 +01:00
Mart Raudsepp
5c58bcfd15
decodebin2: Post all source pads in stream-topology messages as "element-srcpad" values
...
This allows us to easily get ahold of all pads on a stream-topology message, including
pre-decoder ones, while "pad" only gives us access to the raw pads (as used by discoverer).
2011-11-03 14:41:08 +01:00
Mart Raudsepp
cee8710817
decodebin2: Use existing "caps" quark for one of the structure sets
2011-11-03 14:40:51 +01:00
Sebastian Dröge
b29a3d3cff
playsinkconvertbin: Don't add identity multiple times
2011-11-03 10:07:27 +01:00
Vincent Penquerc'h
7eb8a9aaf6
playsink: send flush start/stop event when we switch elements
...
https://bugzilla.gnome.org/show_bug.cgi?id=661262
2011-11-03 10:05:44 +01:00
Vincent Penquerc'h
0cac680fac
playsink: re-add identity where appropriate
...
https://bugzilla.gnome.org/show_bug.cgi?id=661262
2011-11-03 10:05:26 +01:00
Vincent Penquerc'h
c3e94d1c08
playsink: lock the new {set,get}_property functions
...
https://bugzilla.gnome.org/show_bug.cgi?id=661262
2011-11-03 10:04:07 +01:00
Thiago Santos
0a07701164
playsinkconvertbin: Be more consistent with ghostpad targets
...
Set up targets on READY->PAUSED state change to passthrough by
default. This prevents the targets from being unset on the
first run, while the 'raw' variable would mean that some
target is set.
2011-11-03 10:03:07 +01:00
Thiago Santos
f9ea3fdda8
playsinkconvertbin: No need to remove the identity
...
The identity element should be handled by the GstBin's cleanup,
removing it on the remove_elements function might remove it
too soon, as this function can be called directly from playsink
2011-11-03 10:02:58 +01:00
Thiago Santos
34f72da9cc
playsinkconvertbin: Adding some debug messages
...
Adds a couple debug messages and some g_assert to make debugging
easier
2011-11-03 10:02:49 +01:00
Thiago Santos
80971a3b33
playsink-videoconvert: Fix warning on build
...
Remove unused variable
2011-11-03 10:02:39 +01:00
Vincent Penquerc'h
ae3ba53391
playsink: handle after-the-fact changes in converters/volume booleans
...
The playsink was nastily poking a boolean in the structure.
Make those booleans properties, so we are told when they change,
and rebuild the conversion bin when they do.
Some cleanup to go with it too.
https://bugzilla.gnome.org/show_bug.cgi?id=661262
2011-11-03 10:02:31 +01:00
Vincent Penquerc'h
c08a23169d
playsink: handle NULL cached caps in getcaps
...
https://bugzilla.gnome.org/show_bug.cgi?id=661262
2011-11-03 10:02:01 +01:00
Vincent Penquerc'h
3939457b00
playsink: consider both passthrough and converter caps in getcaps
...
Since we can switch between both modes.
https://bugzilla.gnome.org/show_bug.cgi?id=661262
2011-11-03 10:01:52 +01:00
Vincent Penquerc'h
b34dac9a87
playsink: cache inner converter bin caps
...
https://bugzilla.gnome.org/show_bug.cgi?id=661262
2011-11-03 09:58:03 +01:00
Vincent Penquerc'h
6925c02bc2
playsink: keep both raw and non raw pipelines at all times
...
and switch between them as needed.
https://bugzilla.gnome.org/show_bug.cgi?id=661262
2011-11-03 09:57:46 +01:00
Vincent Penquerc'h
69d98d08c1
playsink: only compare against the media type we expect
...
ie, audio/x-raw- for audio, video/x-raw- for video.
Add a trailing - to be more specific. I doubt there's anything
like audio/x-rawhide or something, but you never know.
https://bugzilla.gnome.org/show_bug.cgi?id=661262
2011-11-03 09:57:32 +01:00
Vincent Penquerc'h
fd27e34582
playsink: refactor the converter bins since they are almost identical
...
https://bugzilla.gnome.org/show_bug.cgi?id=661262
2011-11-03 09:57:21 +01:00
Vincent Penquerc'h
c8e0d215cb
playsink: fix passthrough mode (hopefully)
...
The code was doing counterintuitive rewiring of pads when the
bin did not contain any elements. We now add an identity element
in that case, which makes it simpler, and should fix the AC3
passthrough mode when using pulseaudio (but I don't see the bug
here so can't test).
https://bugzilla.gnome.org/show_bug.cgi?id=661262
2011-11-03 09:56:40 +01:00
Vincent Penquerc'h
2b84b328b1
playsink: handle NULL ghost pad target
...
For the src pad anyway.
https://bugzilla.gnome.org/show_bug.cgi?id=661262
2011-11-03 09:56:26 +01:00
Sebastian Dröge
a583b63722
Revert "playsinkaudioconvert: Fix warning when there is no target pad yet"
...
This reverts commit f35c51c149
.
Better patch coming soon.
2011-11-03 09:56:14 +01:00
Wim Taymans
a5fa136c0b
update for tag API removal
2011-11-02 12:11:16 +01:00
Wim Taymans
e067e67923
rename meta* -> *meta
2011-11-02 09:04:27 +01:00
Wim Taymans
5bdfd6d899
structure: fix for api update
2011-11-02 09:04:27 +01:00
Tim-Philipp Müller
b52c5819fb
Update for pad API changes
...
GstProbeType, GstProbeReturn and GstActivateMode -> GstPad*
2011-11-01 00:34:28 +00:00
Tim-Philipp Müller
edc7b45dc6
subtitleoverlay: don't include header that's been removed
2011-10-31 14:26:09 +00:00
Tim-Philipp Müller
d06ad8e95e
Merge remote-tracking branch 'origin/master' into 0.11
2011-10-31 14:22:58 +00:00
Tim-Philipp Müller
5ee51e47a1
ext, gst, gst-libs, tests: update for tag list API changes
2011-10-31 14:22:39 +00:00
Tim-Philipp Müller
b6c424018b
subtitleoverlay: don't use soon-to-be-deprecated gst_filter_run()
2011-10-30 20:00:47 +00:00
Wim Taymans
4f9dea137f
Merge branch 'master' into 0.11
2011-10-28 11:34:37 +02:00
Philip Jägenstedt
88491ff2e7
typefind: extract SOF marker in jpeg typefinder
...
The SOF types are defined by http://www.w3.org/Graphics/JPEG/itu-t81.pdf
This is needed to make sure that we plug a jpeg decoder that
can handle the type of JPEG we have (e.g. lossless JPEG)
https://bugzilla.gnome.org/show_bug.cgi?id=556648
2011-10-28 09:45:02 +01:00
Wim Taymans
06311362e9
fix compilation
2011-10-27 17:26:58 +02:00
Wim Taymans
016d036137
Merge branch 'master' into 0.11
...
Conflicts:
configure.ac
gst-libs/gst/audio/gstbaseaudiosink.c
gst/audioconvert/channelmixtest.c
gst/playback/gstplaybasebin.c
gst/playback/gstsubtitleoverlay.c
tests/examples/Makefile.am
tests/examples/audio/Makefile.am
2011-10-27 15:44:58 +02:00
Jan Schmidt
f35c51c149
playsinkaudioconvert: Fix warning when there is no target pad yet
2011-10-27 00:23:27 +11:00
Nicolas Dufresne
cf9da5c280
decodebin2: Link elements before testing if they can reach the READY state
...
This is made possible by filtering errors. This is required to let
harware accelerated element query the video context. The video context
is used to determine if the HW is capable, and thus if the element is
supported or not.
Fixes bug #662330 .
2011-10-22 08:27:31 +02:00
René Stadler
54be243757
playbasebin: remove avoidable call to gst_object_set_name
2011-10-21 22:24:14 +02:00
René Stadler
0a5fcbb080
audioconvert: bury dead test program
2011-10-21 22:24:14 +02:00
Stefan Sauer
53d7d2e966
interfaces: clean up the use of iface and class/klass
2011-10-21 14:46:48 +02:00
René Stadler
6ffaccd284
subtitleoverlay: fix leaks of pad templates and internal proxy pads
2011-10-19 19:47:38 +02:00
René Stadler
56419cce77
subtitleoverlay: fix leak of element reference through pad block
...
If the pad block never happens because there is no data flow at all, the
callback is never fired and the reference is never released. This causes a
reference cycle between the pad and element, so valgrind is not very vocal
about it (memory is still reachable).
2011-10-19 19:47:38 +02:00
René Stadler
becba526d9
subtitleoverlay: fix event unref in (rare) error case
2011-10-18 13:02:43 +02:00
Tim-Philipp Müller
a586547b0c
audiotestsrc: fix crash when setting the wave property before having negotiated a format
...
https://bugzilla.gnome.org/show_bug.cgi?id=661911
2011-10-17 15:47:31 +01:00
Vincent Penquerc'h
5e9862b2ba
decodebin2: fire drained signal where appropriate
...
This will allow playbin2 to send its about-to-finish signal.
Taken out (apparently by mistake) by the EOS rewrite in july.
https://bugzilla.gnome.org/show_bug.cgi?id=661202
2011-10-17 15:36:25 +02:00
Edward Hervey
1c10fbcd33
audioconvert: We can handle channels conversion
2011-10-17 12:28:58 +02:00
Wim Taymans
5560d44e7a
Merge branch 'master' into 0.11
2011-10-13 08:53:34 +02:00
Thiago Santos
6eb5f5b13e
audiotestsrc: update blocksize when caps or samples-per-buffer change
...
Blocksize needs to be updated so we get a correct size buffer on
_fill function.
2011-10-10 12:31:46 -03:00
Brian Cameron
ded27cc61a
videotestsrc: fix LDADD missing GST_LIBS
2011-10-10 13:11:59 +02:00
Wim Taymans
f1088ed647
update for UNEXPECTED -> EOS flowreturn
2011-10-10 11:39:52 +02:00
Wim Taymans
73b894107a
Merge branch 'master' into 0.11
...
Conflicts:
ext/vorbis/gstvorbisdec.c
ext/vorbis/gstvorbisenc.c
ext/vorbis/gstvorbisenc.h
gst/audiotestsrc/gstaudiotestsrc.c
2011-10-08 10:19:06 +02:00
Vincent Penquerc'h
70239887e8
audiotestsrc: add missing break
...
And make violet noise usable
https://bugzilla.gnome.org/show_bug.cgi?id=661105
2011-10-06 20:45:09 +02:00
Vincent Penquerc'h
8d617f4037
playsink: fix caps negotiation through the new convenience bins
...
The bins' getcaps was bypassing the inner elements, and thus
failing to account for the caps transformations they allow,
which caused YUV video pipelines to fail with ximagesink, which
does not support YUV, even though the convenience bin includes
a colorspace converter for just this purpose.
https://bugzilla.gnome.org/show_bug.cgi?id=660816
2011-10-06 20:43:43 +02:00
Vincent Penquerc'h
76b29367e7
playbin2: fix mismatch between video/ and video/x-dvd-subpicture
...
The new code was checking for a prefix, and would find video/
first. Check in two passes, first checking for a perfect match,
and falling back to a prefix check if nothing was found.
https://bugzilla.gnome.org/show_bug.cgi?id=657261
2011-10-06 20:41:53 +02:00
Thiago Santos
59f0b29c3f
encodebin: Re-enable parsers
...
Re-enable parsers in encodebin to allow more passthrough scenarios
to work. Specially the ones that require changing 'stream formats'.
i.e. h264 in mkv to mpegts.
2011-10-05 14:55:42 -03:00
Robert Swain
ef4a4a0e94
playsink: Add audio- and text-sink props
2011-10-05 12:45:49 +02:00
Stefan Sauer
7ce811f1ed
auditestsrc: indent fix
2011-10-04 23:10:05 +02:00
Wim Taymans
1261c08a2f
playbin2: port new bits to 0.11
2011-10-04 18:06:07 +02:00
Wim Taymans
a00927ad03
Merge branch 'master' into 0.11
2011-10-04 17:58:49 +02:00
Robert Swain
ddcda53714
playsink: Add video-sink property
...
The video-sink property allows manual specification via g_object_set ()
of the video sink element to be used.
2011-10-04 16:24:01 +02:00
Sebastian Dröge
12a54ae4dd
playbin2: Minor cleanup of decoder-sink compatibility checking code
2011-10-03 15:20:06 +02:00
Thibault Saunier
a123195dd0
playbin2: Make sure that the decoders we plug are compatible with the fixed sink
...
The fact that a decoder is not compatible with the fixed sink
is currently happenning in the case where we have hardware accelerated
video decoders on the system (especially vaapi elements that are actually plugged),
and the user is providing a sink that doesn't support the surface.
A simple example that shows how it used to crash on a system where gstreamer-vaapi
is installed:
gst-launch playbin2 video-sink=xvimagesink uri=/codec/supported/by/vaapi
What we are now doing in this case, is avoid using the accelerated
decoder and plug a "normal" decoder instead (if avalaible).
This commit doesn't handle the case where we have hardware accelerated
demuxing.
2011-10-03 15:17:54 +02:00
Sebastian Dröge
9117681b35
decodebin2: Use a TIME limit for pre-rolling in live streams and not in non-live streams
...
Fixes bug #647769 for real.
2011-10-03 10:55:53 +02:00
Wim Taymans
e787c7a5e2
Merge branch 'master' into 0.11
...
Conflicts:
ext/pango/gsttextoverlay.c
gst/encoding/gstencodebin.c
2011-10-03 10:11:19 +02:00
Thiago Santos
a223775089
encodebin: Fix typo on formatter adding condition
...
The condition is if the muxer doesn't have tag setter *and* isn't
a formatter itself. Any of those two conditions makes the muxer
good enough to not need a formatter.
2011-09-30 10:56:06 -03:00
Wim Taymans
bf57108e6a
Revert "sbutitleoverlay: fix compiler warning"
...
This reverts commit ed792293e7
.
Not needed anymore because of another commit
2011-09-30 11:45:51 +02:00
Wim Taymans
ed792293e7
sbutitleoverlay: fix compiler warning
2011-09-30 11:04:19 +02:00
Tim-Philipp Müller
4b43972cf4
subitleoverlay: fix compiler warning
...
gstsubtitleoverlay.c: In function 'gst_subtitle_overlay_video_sink_event':
gstsubtitleoverlay.c:1736:22: error: 'target' may be used uninitialized in this function
2011-09-29 21:30:52 +01:00
Wim Taymans
19346c2c3b
Merge branch 'master' into 0.11
...
Conflicts:
gst-libs/gst/audio/gstaudioencoder.c
gst/playback/gstplaybin2.c
gst/videotestsrc/videotestsrc.c
2011-09-28 11:35:46 +02:00
Raimo Järvi
ceea972b42
videotestsrc: Fix compiler warning on 64 bit mingw-w64
...
Fixes bug #660304 .
2011-09-28 00:07:36 +01:00
Raimo Järvi
c0956342b2
playbin2: Fix compiler warnings on 64 bit mingw-w64
...
Fixes bug #660301 .
2011-09-27 23:54:04 +01:00
Wim Taymans
f71511edd2
Merge branch 'master' into 0.11
...
Conflicts:
gst-libs/gst/audio/gstaudiodecoder.c
gst-libs/gst/audio/gstaudioencoder.c
gst/encoding/gstencodebin.c
2011-09-26 19:22:05 +02:00
Tim-Philipp Müller
09e06add66
typefindfunctions: backport some const-ifications from 0.11 branch
...
To keep code identical as much as possible between the two branches,
for easier merging.
2011-09-25 15:33:35 +01:00
Tim-Philipp Müller
bfb33e09a9
typefindfunctions: fix indentation
2011-09-25 15:33:35 +01:00
Tim-Philipp Müller
754b22d7ee
libs: remove unused floatcast header-only library
...
There's no code whatsoever that uses these macros. If anyone
ever feels the need to resurrect them, we should add them to
gstutils.h in core or libgstaudio or so.
2011-09-23 21:18:47 +01:00
Edward Hervey
17bfba09f1
Merge branch 'master' into 0.11
...
Conflicts:
ext/ogg/gstoggdemux.c
ext/pango/gsttextoverlay.c
gst-libs/gst/audio/gstaudioencoder.c
gst-libs/gst/audio/gstbaseaudiosrc.c
gst/playback/gstsubtitleoverlay.c
gst/videorate/gstvideorate.c
2011-09-23 18:27:11 +02:00
Robert Swain
635d2411cc
encodebin: Avoid unnecessary read only caps copy
2011-09-23 17:50:31 +02:00
Sjoerd Simons
b9b5b133fd
videorate: Add a max-rate property
...
In various use-case you want to dynamically change the framerate (e.g.
live streams where the available network bandwidth changes). Doing this
via capsfilters in the pipeline tends to be very cumbersome and racy,
using this property instead makes it very painless.
2011-09-21 11:24:59 +01:00
Sjoerd Simons
ec7ca80c9e
videorate: Add more strict caps negotiation
...
When in drop-only mode we can never provide a framerate that is higher
then the input, so let the caps negotiation reflect this.
2011-09-21 11:24:59 +01:00
Tim-Philipp Müller
f57bbc585d
videorate: don't unref event we don't own
...
http://bugzilla.gnome.org/show_bug.cgi?id=659562
2011-09-20 13:35:55 +01:00
Sebastian Dröge
61c6fcb2cd
decodebin2: Only check if this is a discarded type if we have fixed caps
...
For unfixed caps we will get here again later when the caps are fixed.
2011-09-20 14:06:51 +02:00
Sebastian Dröge
8e114c427a
decodebin2: Only call autoplug-continue with fixed caps
...
With unfixed caps we can't reliably decide if the final caps
are going to be "raw" (e.g. supported by a sink) or not.
We will get here again later when the caps are fixed.
2011-09-20 14:06:42 +02:00
Sebastian Dröge
01d37532b6
subtitleoverlay: Get the target of the video sinkpad, not the target sinkpad in the video setcaps handler
2011-09-19 14:02:00 +02:00
Youness Alaoui
27058c1bc6
decodebin2: Initialize variable correctly
...
If subdrained isn't initialized to FALSE then a chain might think
that its group is drained when in fact it's not and this can cause
a switch too early or even cause a deadlock.
2011-09-19 12:36:48 +02:00
Edward Hervey
9d2bcb08fe
decodebin2: Rewrite EOS-handling code
...
This is now really threadsafe and improves switching
between different groups.
2011-09-19 12:34:51 +02:00
Sebastian Dröge
936e87cdcf
decodebin2: Fix non-prerolling pipelines and not-linked errors if a parser is available but no decoder
...
Fixes bug #658846 .
2011-09-19 11:54:27 +02:00
Sebastian Dröge
b1bb1e9b26
subtitleoverlay: Implement support for switching between raw and non-raw video streams
2011-09-19 11:24:47 +02:00
Alessandro Decina
a330ff0721
playbin2: fix compiler warning
...
Remove a check for gchar >= 128
2011-09-15 22:05:34 +02:00
Stefan Sauer
b678f6cf69
adder: don't access the event after pushing
...
Fixes valgrind warnings.
2011-09-15 16:47:26 +02:00
Sebastian Dröge
bd52f00796
Revert "playbin2: autoplug sink if stream is incompatible to the configured one"
...
This reverts commit b0b4e286c8
.
We agreed that the previous (pre-.35) behaviour is broken and a bug and the
current behaviour is correct, deterministic and allows the application to
handle stuff properly while the old behaviour can't be handled properly by
applications and just worked in some applications by luck.
The solution to the problem that was solved by relying on the old, broken
behaviour would be, to make decodebin2/playbin2 more aware of decoders and
improve the autoplugging of decoders by considering the caps supported by the
sink instead of just using something with the highest rank.
See bug #656923 .
2011-09-15 14:27:35 +02:00
Josep Torra
b0b4e286c8
playbin2: autoplug sink if stream is incompatible to the configured one
...
Fixes regression since 0.10.33 where sinks that can cope with non raw
caps or custom caps are not autoplugged if there's a sink configured
with the properties video-sink and audio-sink which cannot handle
the stream. This change checks for compatibility on the configured one
and use it if success. Otherwhise it tries with the found factories.
2011-09-15 09:30:25 +02:00
Josep Torra
8f8ad316ce
Revert "playsink: only add text overlay if vido sink also accepts raw caps"
...
This reverts commit a22faad18a
. Instead
of disabling subtitles completelly when video stream have custom caps,
just let the sutbtileoverlay cope with them as now it's able to.
2011-09-14 11:05:45 +02:00
Josep Torra
596c75b541
subtitleoverlay: gracefully handle non raw video streams
...
Implement handling of non raw video streams by avoiding colorspace
elements and autoplugging a compatible renderer if available. Fallback
to passthrough if no compatible renderer is found.
2011-09-14 11:05:45 +02:00
Tim-Philipp Müller
14a79628a7
playbin2: try to catch malformed URIs
...
Only log in debug log for now, since the check is a bit
half-hearted, its purpose is mostly to make sure people
use gst_filename_to_uri() or g_filename_to_uri().
https://bugzilla.gnome.org/show_bug.cgi?id=654673
2011-09-13 21:57:10 +01:00
Vincent Penquerc'h
4095551b31
typefind: recognize Asylum modules
...
Note that there is already a AMF detection for a different
magic, I'm not sure if that's a different format with the
same initials or not. AMF is used for a few different formats
(including video), so...
This fixes playbin2 playing Asylum modules.
https://bugzilla.gnome.org/show_bug.cgi?id=658514
2011-09-09 13:54:45 +02:00
Nicolas Dufresne
25939e0218
subparse: Improve subrip type check regex
...
This patch prevents timestamp like "1 1:00:00", which would have been seen
as hour 101 by our parser, and allow single digit hour, minute and seconds
as it's already supported by the parser, and also by other implementation
like in mplayer. This fixes bug 657872.
https://bugzilla.gnome.org/show_bug.cgi?id=657872
2011-09-08 14:52:15 +02:00
Sebastian Dröge
21bc8ddcb7
Revert "Revert "decodebin2: Do a subset check before actually using a factory""
...
This reverts commit 5f5d832a3b
.
2011-09-08 14:42:13 +02:00
Sebastian Dröge
0f654f3feb
Merge branch 'master' into 0.11
...
Conflicts:
docs/libs/Makefile.am
tests/check/elements/decodebin2.c
2011-09-08 14:42:00 +02:00
Sebastian Dröge
5f5d832a3b
Revert "decodebin2: Do a subset check before actually using a factory"
...
This reverts commit 50a88396ae
.
See bug #658541 .
2011-09-08 13:25:27 +02:00
Sebastian Dröge
9e2ce5bbb5
decodebin2: Make sure to fixate Parser/Converter caps before continuing autoplugging
2011-09-07 16:44:59 +02:00
Josep Torra
a22faad18a
playsink: only add text overlay if vido sink also accepts raw caps
...
Fixes regression, pipeline fails with not negotiated, on media
containing subtitles when decoder/sink with custom caps is used.
2011-09-07 16:08:38 +02:00
Sebastian Dröge
46e26824d4
decodebin2: Intersect the factory caps with the current caps for the capsfilter
...
Otherwise we'll include many incompatible caps in the capsfilter that
will only slow down negotiation.
2011-09-07 14:20:36 +02:00
Stefan Sauer
abc96efb2a
docs: add two mising enum docs
2011-09-07 14:14:02 +02:00
Tim-Philipp Müller
f93748fbd4
decodebin2: fix element factory refcounting
...
g_value_get_object() does not give us our own ref.
Fixes "Trying to dispose object "flacparse", but it still has a parent "registry0".
You need to let the parent manage the object instead of unreffing the object directly."
and similar warnings.
https://bugzilla.gnome.org/show_bug.cgi?id=658416
2011-09-07 12:34:06 +01:00
Wim Taymans
c0d31dd555
rename IS_LE/BE to _IS_LITTLE_ENDIAN/BIG_ENDIAN
2011-09-06 16:46:02 +02:00
Wim Taymans
8ee3da5bba
Merge branch 'master' into 0.11
...
Conflicts:
gst/playback/gstsubtitleoverlay.c
tests/check/elements/decodebin2.c
2011-09-06 15:31:53 +02:00
Wim Taymans
7012e88090
Merge branch 'master' into 0.11
...
Conflicts:
gst-libs/gst/audio/audio.h
gst-libs/gst/audio/gstaudiodecoder.c
gst-libs/gst/audio/gstaudiodecoder.h
gst-libs/gst/audio/gstaudioencoder.c
gst-libs/gst/audio/gstbaseaudioencoder.h
gst/playback/Makefile.am
gst/playback/gstplaybin.c
gst/playback/gstplaysink.c
gst/playback/gstplaysinkvideoconvert.c
gst/playback/gstsubtitleoverlay.c
gst/videorate/gstvideorate.c
gst/videoscale/gstvideoscale.c
win32/common/libgstaudio.def
2011-09-06 15:24:32 +02:00
Sebastian Dröge
50a88396ae
decodebin2: Do a subset check before actually using a factory
...
This prevents autoplugging if the caps have a non-empty intersection
but are not accepted by the next element's pad.
2011-09-06 14:16:10 +02:00
Sebastian Dröge
c5733632ee
subtitleoverlay: Use subset check instead of non-empty-intersection check to check if pads are compatible
2011-09-06 14:04:34 +02:00
Sebastian Dröge
e3530f434b
playbin2: Use subset check instead of non-empty-intersection check to check if pads are compatible
2011-09-06 14:03:31 +02:00
Sebastian Dröge
4be8c44b08
decodebin2: Fix memory leak
2011-09-06 13:16:44 +02:00
Sebastian Dröge
20f9d0bec5
decodebin2: Correctly negotiate format for parsers that can convert different stream formats
...
This is done by adding a capsfilter after every parser/converter that contains
all possible caps supported by downstream elements. A capsfilter is necessary
here because the decoder is only selected after the parser selected a format
and the parser can't know what downstream would support otherwise.
2011-09-06 13:16:44 +02:00
Sebastian Dröge
1df9fa9ee8
playbin2: If a audio/video sink was already selected don't check caps of all other possible sinks
2011-09-06 13:16:44 +02:00
Wim Taymans
33196cdd2c
audio: change audio format syntax a little
...
Remove the _ in front of the endianness prefix.
Remove the _3 postfix for the 24 bits formats.
Add a _32 postfix after the formats that occupy extra space beyond their
natural size.
The result is that the GST_AUDIO_NE() macro can simply append the endianness
after all formats and that we only specify a different sample width when it is
different from the natural size of the sample. This makes things more consistent
and follows the pulseaudio conventions instead of the alsa ones.
2011-09-06 12:06:39 +02:00
Vincent Penquerc'h
78f50f2d25
videorate: don't take the object lock twice in {set,get}_property
...
https://bugzilla.gnome.org/show_bug.cgi?id=658294
2011-09-06 09:44:38 +01:00
Thiago Santos
2768ed75e0
encodebin: Select muxer further
...
Sort muxers based on their caps and ranking before iterating to
find one that fits the profile.
Sorting is done by putting the elements that have a pad template
that can produce the exact caps that is on the profile. For example:
when asking for "video/quicktime, variant=iso", muxers that
have this exact caps on their pad templates will be put first on
the list than ones that have only "video/quicktime".
https://bugzilla.gnome.org/show_bug.cgi?id=651496
2011-09-05 17:48:36 -03:00
Sebastian Dröge
de4fc848fa
decodebin2: Actually iterate over the factories instead of only taking the first one
2011-09-05 20:32:42 +02:00
Tim-Philipp Müller
b1c00adf31
Revert "playsink: Try include 'pitch', if no other sink is provided"
...
This reverts commit 105814e2c7
.
The general consensus seems to be that we should revert this for
now. If such behaviour is desired, we should probably enable it
via a flag. And maybe use the scaletempo plugin instead.
2011-09-05 14:44:27 +01:00
Sebastian Dröge
705ca1d55a
playsink: Don't leak the videochain ts-offset element
...
Also don't leak the audiochain ts-offset element if one is
found but the sink doesn't support volume settings.
2011-09-05 12:02:37 +02:00
Sebastian Dröge
89a899fd9d
playsink: Use gst_object_unref() instead of g_object_unref() for better debugging
2011-09-05 11:55:59 +02:00
David Schleef
4e38577b30
videoscale: Add modified Lanczos scaling method
...
Adds a Lanczos-derived scaling method, which is rather slow, but very
high quality. Adds a few properties that can be used to tune various
scaling properties: sharpness, sharpen, envelope, dither. Not currently
Orcified, but was designed with that in mind.
2011-09-01 15:16:50 -07:00
David Schleef
924f743981
playback: Add define for colorspace element
...
Single point of change if you want to switch from ffmpegcolorspace
to colorspace.
2011-09-01 11:41:31 -07:00
Sjoerd Simons
08ac05a06c
videorate: fix dynamically changing average period
...
The average_period_set variable can be accessed in different threads, so
always lock it when reading. Furthermore when switching to averaging
mode we should make sure we don't have cached buffers that aren't used
in that mode. And any modeswitch will cause the latency to change, so we
should post a NewLatency message
2011-08-31 14:13:56 +01:00
Sjoerd Simons
ea46b3c706
videorate: Port to basetransform
2011-08-31 14:13:56 +01:00
Sjoerd Simons
f2438913f9
Correct added versions
2011-08-31 14:13:55 +01:00
Sebastian Dröge
49b301bcd6
playsink: Only unref ts_offset elements if they're not NULL
2011-08-31 14:45:08 +02:00
Sebastian Dröge
425d3ae7bc
decodebin2: Keep the chain mutex locked while connecting to the notify::caps signal
2011-08-31 12:40:30 +02:00
Jan Schmidt
105814e2c7
playsink: Try include 'pitch', if no other sink is provided
...
As a default, try the pipeline 'pitch ! audioconvert ! autoaudiosink'
before trying plain autoaudiosink
2011-08-30 18:21:31 +10:00
Wim Taymans
811a8961bf
playsink: fix ts_offset refcounting
2011-08-29 13:33:49 +02:00
Wim Taymans
e694528155
base: port to 0.11
2011-08-29 13:28:08 +02:00
Wim Taymans
e1287b97ab
Merge branch 'master' into 0.11
...
Conflicts:
ext/ogg/gstoggmux.c
gst-libs/gst/audio/audio.c
gst-libs/gst/audio/audio.h
gst-libs/gst/audio/multichannel.h
gst-libs/gst/pbutils/Makefile.am
gst-libs/gst/pbutils/gstdiscoverer.c
gst/playback/gstplaysinkaudioconvert.c
gst/playback/gstplaysinkvideoconvert.c
win32/common/libgstaudio.def
2011-08-29 11:37:36 +02:00
Wim Taymans
82d82203f6
base: fix for allocation methods rename
2011-08-26 14:26:37 +02:00
David Schleef
a912374342
playback: reference count ts_offset
...
Apparently this object is being used after it's freed. This is one
way to fix it, although perhaps not the best way. Fixes : #656715 .
2011-08-25 14:08:34 -07:00
Wim Taymans
81457756f0
audiotestsrc: use base class fill method
2011-08-25 13:21:14 +02:00
Wim Taymans
0a1874461a
audio: rename UNPOSITIONED to DEFAULT_POSITIONS
...
Rename the UNPOSITIONED flag to the DEFAULT_POSITIONS flag because that is
really what the resulting GstAudioInfo will contain as the chanel mappings.
2011-08-24 14:13:33 +02:00
Sebastian Dröge
e9a5d4f8fd
playsink{audio,video}convert: Send NEWSEGMENT events to sinkpads instead of pushing them
2011-08-24 14:05:27 +02:00
Wim Taymans
b0b6d9124d
audiotestsrc: fix build
2011-08-24 11:05:05 +02:00
Wim Taymans
9ad89374a3
video: add colorimetry info
...
Make enums for the chroma siting for easier use in the videoinfo.
Make enums for the color range, color matrix, transfer function and the
color primaries. Add these values to the video info structure in a Colorimetry
structure. These values define the exact colors and are needed to perform
correct colorspace conversion. Use a couple of predefined colorimetry specs
because in practice only a few combinations are in use.
Add view_id to the video frames to identify the view this frame represents in
multiview video.
Remove old gst_video_parse_caps_framerate, use the videoinfo for this.
Port elements to new colorimetry info.
Remove deprecated colorspace property from videotestsrc.
2011-08-23 18:57:35 +02:00
Wim Taymans
2ce5c8b8be
audio: use convert audio helper
2011-08-22 16:21:02 +02:00
Wim Taymans
0213407fbc
audio: rename INT -> INTEGER
...
Spell INTEGER fully instead of using the int abreviation.
Remove some old functions.
2011-08-20 10:49:17 +02:00
Wim Taymans
8023f49d19
more audio caps porting
2011-08-19 17:41:22 +02:00
Wim Taymans
f870178234
adder: port to new caps
2011-08-19 17:05:55 +02:00
Sebastian Dröge
85a3e7c98c
audiofilter: Pass a const pointer to the audio format info to ::setup()
...
It is not meant to be changed by the subclass.
2011-08-19 10:06:39 +02:00
Wim Taymans
ba41bb5ca7
Merge branch 'master' into 0.11
...
Conflicts:
ext/ogg/gstoggmux.c
gst/playback/gstplaysink.c
2011-08-18 19:36:50 +02:00
Wim Taymans
dae848818d
audio: rework audio caps.
...
Rework the audio caps similar to the video caps. Remove
width/depth/endianness/signed fields and replace with a simple string
format and media type audio/x-raw.
Create a GstAudioInfo and some helper methods to parse caps.
Remove duplicate code from the ringbuffer and replace with audio info.
Use AudioInfo in the base audio filter class.
Port elements to new API.
2011-08-18 19:15:03 +02:00
Edward Hervey
2ee31ccac9
playsink: Reconfigure when pads are added later
...
Instead of just assuming all pads are created at the same time,
remember which ones are actually new (via ->pending_blocked_pads).
This allows the following use-case to properly work:
* Upstream starts with audio-only
* Only that pad gets data, blocks and a real audio sink is created
* Upstream laters adds a video stream
* A new pad is requested, blocks and reconfiguration kicks in in
order to add a new real video sink
2011-08-18 13:42:26 +02:00
Vincent Penquerc'h
30236ddfd3
audioresample: fix build without orc
...
https://bugzilla.gnome.org/show_bug.cgi?id=656781
2011-08-18 11:03:58 +02:00
Wim Taymans
0290df6fc5
audiotestsrc: properly override fixate
2011-08-17 17:22:03 +02:00
Wim Taymans
b01d32b195
videotestsrc: properly override the fixate function
2011-08-17 17:18:20 +02:00
Wim Taymans
d679dd2c54
audioresample: fix after merge
2011-08-17 10:47:38 +02:00
Wim Taymans
246622b1e8
adder: fix after merge
2011-08-17 10:47:20 +02:00
Wim Taymans
33467d9629
Merge branch 'master' into 0.11
...
Conflicts:
configure.ac
ext/pango/gsttextoverlay.c
ext/theora/gsttheoradec.c
gst/adder/gstadder.c
gst/adder/gstadder.h
gst/audioresample/gstaudioresample.c
gst/encoding/gstencodebin.c
gst/playback/gstdecodebin.c
gst/playback/gstdecodebin2.c
tests/check/elements/decodebin2.c
tests/check/elements/playbin-compressed.c
win32/common/libgsttag.def
2011-08-16 18:01:14 +02:00
Wim Taymans
8fe31fa12e
gststreamsynchronizer: don't abuse PREROLL flag
...
the preroll flag is not implemented and will disappear soon.
2011-08-15 18:38:04 +02:00
Wim Taymans
e904c529e3
fix for _negotiated_caps() change
2011-08-15 12:18:15 +02:00
Vincent Penquerc'h
49ec6899f4
audioresample: fix quality setting being ignored by the resampler state
...
https://bugzilla.gnome.org/show_bug.cgi?id=636562
2011-08-12 09:55:17 +02:00
Vincent Penquerc'h
746415a6e3
audioresample: use SSE/SSE2 when possible
...
Compile in the code on i386 and x86_64, and use ORC to determine
when the runtime platform can run the code.
https://bugzilla.gnome.org/show_bug.cgi?id=636562
2011-08-12 09:55:11 +02:00
Vincent Penquerc'h
58fd202b7d
audioresample: fix SSE2 building with double precision
...
The full double implementation was missing.
https://bugzilla.gnome.org/show_bug.cgi?id=636562
2011-08-12 09:53:12 +02:00
Tim-Philipp Müller
1c0fbbce10
subparse: fix runtime warnings when doing position query
...
Add missing 'break'.
2011-08-10 10:49:38 +01:00
Vincent Penquerc'h
fa3e246866
typefind: bump probability if all frames we found are similar
...
Similar meaning same layer, same bitrate, and same number of channels
This fixes misdetection of (some MP3 files that have zero padding
between the ID3 tag and the MP3 stream) as H.264 video.
https://bugzilla.gnome.org/show_bug.cgi?id=656018
2011-08-10 11:20:31 +02:00
Josep Torra
5629ed74b3
Fix debug statements
...
Fixes build on MacOSX
Signed-off-by: Edward Hervey <edward.hervey@collabora.co.uk>
2011-08-10 11:15:41 +02:00
Vincent Penquerc'h
c2ce145e72
volume: fix sample depth typo
...
https://bugzilla.gnome.org/show_bug.cgi?id=656022
2011-08-05 13:37:05 +02:00
Sebastian Dröge
5580dd6a4d
volume: Update disted ORC files
2011-08-05 13:06:31 +02:00
Thiago Santos
3687b056c4
encodebin: Set queues to silent=true
...
As encodebin doesn't connect to the queue signals, it can set
queues to silent mode to make queue not emit them.
Check https://bugzilla.gnome.org/show_bug.cgi?id=621299 for
more info on queue's silent property.
2011-08-03 14:14:55 -03:00
Thiago Santos
b263bacc57
encodebin: Fix typo on installing properties
...
queue buffers and bytes properties have ids swapped, fix it.
2011-08-03 13:41:10 -03:00
Wim Taymans
97f1d1805b
update ORC dist files
2011-08-02 12:24:37 +02:00
Wim Taymans
3f8e568dd3
videoconvert: update ORC dist files
2011-08-02 12:24:19 +02:00
Wim Taymans
5a85e1d75f
base: update for new bufferpool API
2011-07-29 17:15:39 +02:00
Tim-Philipp Müller
d71e6cb110
videotestsrc: use local libgstvideo here as well
2011-07-28 15:28:41 +01:00
Thiago Santos
c874edd089
encodebin: rename flags names
...
Rename flags names from native-audio/-video to
no-audio/video-conversion to be more explicit on what it does
2011-07-28 11:21:26 -03:00
Tim-Philipp Müller
c3234c84ed
videoconvert: link to local libgstvideo-0.11
2011-07-28 14:18:34 +01:00
Tim-Philipp Müller
bb65192151
ext,gst: update for query API changes
2011-07-27 01:16:53 +01:00
Stefan Kost
9a26e6c7bc
adder: rework pending event handling
...
Use atomic ops on pending flags. Rename the segment_pending to
new_segment_pending. Set new_segment_pending not when we received seek, but
when we received the first upstream new_segment.
2011-07-26 12:37:11 +02:00
Stefan Kost
a8228b062a
adder: more debug logging for events
2011-07-26 12:37:11 +02:00
Edward Hervey
38a6919a7b
decodebin2: Allow all EOS to go through if we don't have a next group
...
Only drop them if the current group isn't drained .. AND there is a
next group to switch to.
Should Fix #655268
2011-07-26 12:33:56 +02:00
Edward Hervey
059db89633
playbin2: Avoid resetting playsink when not needed
...
When we don't have specific {audio|video|text}-sink properties, don't
set them on playsink when reconfiguring.
If we do that, we end up setting the previous configured sink to
GST_STATE_NULL resulting in any potentially pending push being returned
with GST_FLOW_WRONG_STATE which will cause the upstream elements to
silently stop.
https://bugzilla.gnome.org/show_bug.cgi?id=655279
2011-07-25 18:44:33 +02:00
Edward Hervey
c91928f7a2
decodebin2: Properly handle multi-stream chains
...
When we have a multi-stream (i.e. audio and video) input and the demuxer
adds/removes pads for a new stream (common in a mpeg-ts stream when the
program stream mapping is updated), the algorithm for EOS handling was
previously wrong (it would only drop the EOS of the *last* pad but would
let the EOS on the other pads go through).
The logic has only been changed a tiny bit for EOS handling resulting in:
* If there is no next group, let the EOS go through
* If there is a next group, but not all pads are drained in the active
group, drop the EOS event
* If there is a next group and all pads are drained, then the ghostpads
will be removed and the EOS event will be dropped automatically.
2011-07-25 10:45:36 +02:00
Wim Taymans
4fb67fb0da
audioresample: fix for event handler change
2011-07-22 21:19:08 +02:00
Tim-Philipp Müller
9edbc92a27
decodebin: don't plug the same parser multiple times in a row
...
This allows us to make parsers accept both parsed and unparsed input
without decodebin plugging them in a loop until things blow up, ie.
without affecting applications that still use the old playbin or the
old decodebin.
(Making parsers accept parsed input is useful for later when we want
to use parsers to convert the stream-format into something the decoder
can handle. It's also much more convenient for application authors
who can plug parsers unconditionally in transcoding pipelines, for
example).
2011-07-15 16:14:11 +01:00
Wim Taymans
376164ab08
Merge branch 'master' into 0.11
2011-07-10 13:49:14 +02:00
Piotr Fusik
b27d2469bd
typefind: fixed detection of audio/x-sap
...
Fixes : #654295 .
Signed-off-by: David Schleef <ds@schleef.org>
2011-07-09 16:19:48 -07:00
Tim-Philipp Müller
6be16ad773
gdppay: parse caps event and payload caps
...
Which makes it actually output stuff.
2011-07-08 20:03:27 +01:00
Tim-Philipp Müller
dd56714b14
ffmpegcolorspace -> videoconvert
2011-07-07 23:59:59 +01:00
Wim Taymans
26cc33cb62
Merge branch 'master' into 0.11
...
Conflicts:
gst-libs/gst/tag/gstxmptag.c
gst/encoding/gststreamsplitter.c
2011-07-07 11:10:39 +02:00
Wim Taymans
43bee0022a
audioconvert: update orc dist files
2011-07-07 10:28:08 +02:00
Wim Taymans
d051f3cb5b
audioconvert: don't use .init function
...
Don't use the .init function but compile all functions when needed instead of
when the plugin is registered.
2011-07-07 10:24:55 +02:00
Wim Taymans
ddce68a5c2
video: More video helper library improvements
...
Make a new GstVideoFormatinfo structure that contains the specific information
related to a format such as the number of planes, components, subsampling,
pixel stride etc. The result is that we are now able to introduce the concept of
components again in the API.
Use tables to specify the formats and its properties.
Use macros to get information about the video format description.
Move code to set strides, offsets and size into one function.
Remove methods that are not handled with the structures.
Add methods to retrieve pointers and strides to the components in the video.
2011-07-04 16:01:14 +02:00
Luis de Bethencourt
bf816fe816
encodebin: fix compiler warning
...
cspace and cspace2 may run uninitialized.
2011-06-30 19:57:22 +01:00
Robert Swain
7ad1ba6fba
encodebin: Add flags to disable conversion elements
...
Add a flags property and two flags to allow one to disable the
conversion elements within encodebin. Doing so insists that the
uncompressed input to encodebin for the appropriate stream type is
sufficient to meet the caps requirements of the encoders, muxers and
encodebin target.
This is mostly beneficial to bypass slow caps negotiations in the
conversion elements.
2011-06-30 00:59:18 +02:00
Robert Swain
dc79c42484
streamsplitter: Fix getcaps src pad caps merge
...
Caps returned from gst_pad_peer_get_caps_reffed () may not be writable.
If they are not is should cause an assertion in gst_caps_merge (),
however, sometimes assertions are disabled in binary builds of -base and
it's safer to just be sure the caps are writable. Also, check that the
reffed caps pointer is not NULL.
2011-06-29 11:57:52 +02:00
Mark Nauwelaerts
ebfd6acde1
playsink: only unset initialized GValue
2011-06-28 19:03:23 +02:00
Philip Jägenstedt
f3e65f1c93
typefind: NULL check in degas_type_find
...
The length check isn't sufficient, an source might
report the correct length, but then still fail to
read the requested number of bytes for some reason.
https://bugzilla.gnome.org/show_bug.cgi?id=652642
2011-06-26 23:31:33 +01:00
Tim-Philipp Müller
92a85024de
videoconvert: fix unused-but-set-variable compiler warning
2011-06-26 23:17:39 +01:00
Tim-Philipp Müller
8cede4ae6a
gst, sys: remove GstImplementsInterface usage
2011-06-26 23:16:08 +01:00
Wim Taymans
2732300adc
videotestsrc: port to video helpers
...
Port videotestsrc to use the video helper functions to parse caps and handle
video frames.
Enable GstMetaVideo to make us handle strided video.
2011-06-21 17:36:21 +02:00
Wim Taymans
b43121e061
videotestsrc: small cleanups
2011-06-21 12:52:23 +02:00
Wim Taymans
97567606e2
videoscale: activate Video meta
...
Configure the allocator with GstMetaVideo because we can handle that using the
GstVideoFrame helpers.
2011-06-20 17:49:13 +02:00
Wim Taymans
426ec86be0
videoconvert: use new allocation setup
...
Add setup_allocation to configure video metadata in the negotiated bufferpool.
2011-06-20 17:39:05 +02:00
Wim Taymans
6d9e76f2de
video: remove intermediate Plane structure
...
Remove the GstVideoPlane structure and move the fields directly into the
GstVideoInfo structure. This makes things a little easier to read and also makes
it more likely that we can pass the stride array to external libraries.
2011-06-20 11:25:58 +02:00
Wim Taymans
d93129d8da
-base: port to GstVideoFrame API
2011-06-17 15:41:31 +02:00
Wim Taymans
6a254de438
video: port to new API
...
Add support for palette again.
Rewrite setup code for videoconvert using the new video methods.
2011-06-17 15:39:50 +02:00
Wim Taymans
d06f599193
-base: port elements to new video caps
2011-06-16 12:52:13 +02:00
Wim Taymans
d700111396
some more ffmpegcolorspace to videoconvert changes
2011-06-15 18:08:32 +02:00
Wim Taymans
35bec59536
ffmpegcolorspace: remove plugin
2011-06-15 18:01:04 +02:00
Wim Taymans
db0a2f51b8
videoconvert: renamed from colorspace
2011-06-15 17:49:21 +02:00
Wim Taymans
b94f979317
colorspace: fix caps negotiation
2011-06-15 16:52:52 +02:00
Wim Taymans
edf33ec985
colorspace: port to 0.11
2011-06-15 16:28:44 +02:00
Tim-Philipp Müller
e5a873db9d
[MOVED FROM BAD 68/68] Update orc-generated disted C backup code to orc 0.4.14
2011-06-15 16:12:56 +02:00
Tim-Philipp Müller
c68739369f
[MOVED FROM BAD 67/68] 0.10.21.3 pre-release
2011-06-15 16:12:56 +02:00
Tim-Philipp Müller
23336a573f
[MOVED FROM BAD 66/68] ext, gst: update disted orc backup files
2011-06-15 16:12:56 +02:00
Tim-Philipp Müller
003abf00d9
[MOVED FROM BAD 65/68] Fix some unused-but-set-variable warnings with gcc 4.6
2011-06-15 16:12:56 +02:00
Thibault Saunier
f4eb67718f
[MOVED FROM BAD 64/68] android: make it ready for androgenizer
...
Remove the android/ top dir
Fixe the Makefile.am to be androgenized
To build gstreamer for android we are now using androgenizer which generates the needed Android.mk files.
Androgenizer can be found here: http://git.collabora.co.uk/?p=user/derek/androgenizer.git
2011-06-15 16:12:56 +02:00
David Schleef
18c312473a
[MOVED FROM BAD 63/68] colorspace: set dithering enum directly
2011-06-15 16:12:56 +02:00
David Schleef
18b568725a
[MOVED FROM BAD 62/68] colorspace: Add support for r210
2011-06-15 16:12:56 +02:00
David Schleef
321cdc1340
[MOVED FROM BAD 61/68] colorspace: Fix YUV->RGB matrixing
2011-06-15 16:12:56 +02:00
David Schleef
f53d15156b
[MOVED FROM BAD 60/68] colorspace: Add dithering
...
Dithering only happens when a 16-bit-per-channel format is
involved.
2011-06-15 16:12:56 +02:00
David Schleef
1b3697cfe3
[MOVED FROM BAD 59/68] colorspace: fix a few formats
2011-06-15 16:12:56 +02:00
David Schleef
88a08599df
[MOVED FROM BAD 58/68] colorspace: Add 16-bit-per-channel handling
2011-06-15 16:12:56 +02:00
David Schleef
4ae30538dc
[MOVED FROM BAD 57/68] colorspace: Fix memleak
2011-06-15 16:12:56 +02:00
David Schleef
3c73b42cee
[MOVED FROM BAD 56/68] colorspace: Fix memory leak
2011-06-15 16:12:56 +02:00
David Schleef
be7f42f0ac
[MOVED FROM BAD 55/68] colorspace: Disable matrixing on big-endian
...
It's broken until someone writes better Orc code. Fixes #631232 .
2011-06-15 16:12:56 +02:00
David Schleef
02ab743f36
[MOVED FROM BAD 54/68] colorspace: remove incorrect check
2011-06-15 16:12:55 +02:00
Sebastian Dröge
530279424f
[MOVED FROM BAD 53/68] colorspace: Update generated ORC sources
2011-06-15 16:12:55 +02:00
Sebastian Dröge
45fc6162b5
[MOVED FROM BAD 52/68] colorspace: Inverse -base version check logic to actually make sense
2011-06-15 16:12:55 +02:00
Sebastian Dröge
660b1af2dc
[MOVED FROM BAD 51/68] colorspace: Add support for IYU1
2011-06-15 16:12:55 +02:00
Sebastian Dröge
03d440668e
[MOVED FROM BAD 50/68] colorspace: First version of YUV9 and YVU9 implementation
2011-06-15 16:12:55 +02:00
Sebastian Dröge
34cb2fa4a5
[MOVED FROM BAD 49/68] colorspace: Use GST_CHECK_PLUGINS_BASE_VERSION() instead of other hacks
2011-06-15 16:12:55 +02:00
Tim-Philipp Müller
e857835fe8
[MOVED FROM BAD 48/68] colorspace: fix build with current git of gst-plugins-base
...
ifdef tests don't work so well if we define them in the code
above in case they aren't defined.
2011-06-15 16:12:55 +02:00
Sebastian Dröge
3c106bad31
[MOVED FROM BAD 47/68] colorspace: Add support for 8 bit paletted RGB
...
This needs the 8 bit paletted support from -base
which will be committed after release. Without this
the 8 bit parts are disabled.
2011-06-15 16:12:55 +02:00
Tim-Philipp Müller
93862e63d8
[MOVED FROM BAD 46/68] cog, colorspace: update orc backup functions for latest changes
...
Should fix build on systems without the latest orc.
2011-06-15 16:12:55 +02:00
Sebastian Dröge
85b0252c5e
[MOVED FROM BAD 45/68] colorspace: Add support for RGB15 and BGR15
2011-06-15 16:12:55 +02:00
Sebastian Dröge
5c3ec3819d
[MOVED FROM BAD 44/68] colorspace: Add support for RGB16 and BGR16
2011-06-15 16:12:55 +02:00
Sebastian Dröge
017f2b1d88
[MOVED FROM BAD 43/68] colorspace: Add support for Y16
2011-06-15 16:12:55 +02:00
Sebastian Dröge
09e9e55441
[MOVED FROM BAD 42/68] colorspace: Fix Y800 ORC getline implementation
2011-06-15 16:12:55 +02:00
Sebastian Dröge
ecfd247f02
[MOVED FROM BAD 41/68] colorspace: Add support for A420
2011-06-15 16:12:55 +02:00
Sebastian Dröge
395640e0e6
[MOVED FROM BAD 40/68] colorspace: Add support for Y41B
2011-06-15 16:12:54 +02:00
Sebastian Dröge
b026b621a4
[MOVED FROM BAD 39/68] colorspace: Add support for SDTV/HDTV YUV conversions
2011-06-15 16:12:54 +02:00
Sebastian Dröge
5f2f053c09
[MOVED FROM BAD 38/68] colorspace: Add comment for the A420 getline/putline table row
2011-06-15 16:12:54 +02:00
Sebastian Dröge
d75118e42f
[MOVED FROM BAD 37/68] colorspace: Add const to the source arrays and the getline/putline table
2011-06-15 16:12:54 +02:00
Sebastian Dröge
dd00c712c9
[MOVED FROM BAD 36/68] colorspace: Make fast-path transform table const
2011-06-15 16:12:54 +02:00
Sebastian Dröge
2c542f083b
[MOVED FROM BAD 35/68] colorspace: Only do the I420->YUY2 conversion once per scanline in the fast path
2011-06-15 16:12:54 +02:00
David Schleef
cb4a45bfbd
[MOVED FROM BAD 34/68] colorspace: quiet a GST_ERROR
2011-06-15 16:12:54 +02:00
Tim-Philipp Müller
3b8ae9da70
[MOVED FROM BAD 33/68] colorspace: add orc-dist files
...
Should fix build without orc or too old orc.
2011-06-15 16:12:54 +02:00
David Schleef
b045ad2216
[MOVED FROM BAD 32/68] colorspace: Add conversion code
...
Work in progress. Colorspace handles most format conversion using
3-stage getline/matrix/putline process using an AYUV or ARGB
intermediate, with most functions handled by Orc. There is also
a table of single-pass conversions, all handled by Orc. The plan
is to add optional stages for various chroma upsampling/downsampling
algorithms, dithering, and float/int16 intermediates, and then have
Orc create multi-stage functions at runtime.
2011-06-15 16:12:54 +02:00
David Schleef
7bc588631a
[MOVED FROM BAD 31/68] colorspace: Revive element
...
Now based on Orc.
2011-06-15 16:12:54 +02:00
Benjamin Otte
0125cb55b9
[MOVED FROM BAD 30/68] gst_element_class_set_details => gst_element_class_set_details_simple
2011-06-15 16:12:54 +02:00
Stefan Kost
2f9ee2a816
[MOVED FROM BAD 29/68] Don't install static libs for plugins. Fixes #550851 for -bad.
...
Original commit message from CVS:
* ext/alsaspdif/Makefile.am:
* ext/amrwb/Makefile.am:
* ext/apexsink/Makefile.am:
* ext/arts/Makefile.am:
* ext/artsd/Makefile.am:
* ext/audiofile/Makefile.am:
* ext/audioresample/Makefile.am:
* ext/bz2/Makefile.am:
* ext/cdaudio/Makefile.am:
* ext/celt/Makefile.am:
* ext/dc1394/Makefile.am:
* ext/dirac/Makefile.am:
* ext/directfb/Makefile.am:
* ext/divx/Makefile.am:
* ext/dts/Makefile.am:
* ext/faac/Makefile.am:
* ext/faad/Makefile.am:
* ext/gsm/Makefile.am:
* ext/hermes/Makefile.am:
* ext/ivorbis/Makefile.am:
* ext/jack/Makefile.am:
* ext/jp2k/Makefile.am:
* ext/ladspa/Makefile.am:
* ext/lcs/Makefile.am:
* ext/libfame/Makefile.am:
* ext/libmms/Makefile.am:
* ext/metadata/Makefile.am:
* ext/mpeg2enc/Makefile.am:
* ext/mplex/Makefile.am:
* ext/musepack/Makefile.am:
* ext/musicbrainz/Makefile.am:
* ext/mythtv/Makefile.am:
* ext/nas/Makefile.am:
* ext/neon/Makefile.am:
* ext/ofa/Makefile.am:
* ext/polyp/Makefile.am:
* ext/resindvd/Makefile.am:
* ext/sdl/Makefile.am:
* ext/shout/Makefile.am:
* ext/snapshot/Makefile.am:
* ext/sndfile/Makefile.am:
* ext/soundtouch/Makefile.am:
* ext/spc/Makefile.am:
* ext/swfdec/Makefile.am:
* ext/tarkin/Makefile.am:
* ext/theora/Makefile.am:
* ext/timidity/Makefile.am:
* ext/twolame/Makefile.am:
* ext/x264/Makefile.am:
* ext/xine/Makefile.am:
* ext/xvid/Makefile.am:
* gst-libs/gst/app/Makefile.am:
* gst-libs/gst/dshow/Makefile.am:
* gst/aiffparse/Makefile.am:
* gst/app/Makefile.am:
* gst/audiobuffer/Makefile.am:
* gst/bayer/Makefile.am:
* gst/cdxaparse/Makefile.am:
* gst/chart/Makefile.am:
* gst/colorspace/Makefile.am:
* gst/dccp/Makefile.am:
* gst/deinterlace/Makefile.am:
* gst/deinterlace2/Makefile.am:
* gst/dvdspu/Makefile.am:
* gst/festival/Makefile.am:
* gst/filter/Makefile.am:
* gst/flacparse/Makefile.am:
* gst/flv/Makefile.am:
* gst/games/Makefile.am:
* gst/h264parse/Makefile.am:
* gst/librfb/Makefile.am:
* gst/mixmatrix/Makefile.am:
* gst/modplug/Makefile.am:
* gst/mpeg1sys/Makefile.am:
* gst/mpeg4videoparse/Makefile.am:
* gst/mpegdemux/Makefile.am:
* gst/mpegtsmux/Makefile.am:
* gst/mpegvideoparse/Makefile.am:
* gst/mve/Makefile.am:
* gst/nsf/Makefile.am:
* gst/nuvdemux/Makefile.am:
* gst/overlay/Makefile.am:
* gst/passthrough/Makefile.am:
* gst/pcapparse/Makefile.am:
* gst/playondemand/Makefile.am:
* gst/rawparse/Makefile.am:
* gst/real/Makefile.am:
* gst/rtjpeg/Makefile.am:
* gst/rtpmanager/Makefile.am:
* gst/scaletempo/Makefile.am:
* gst/sdp/Makefile.am:
* gst/selector/Makefile.am:
* gst/smooth/Makefile.am:
* gst/smoothwave/Makefile.am:
* gst/speed/Makefile.am:
* gst/speexresample/Makefile.am:
* gst/stereo/Makefile.am:
* gst/subenc/Makefile.am:
* gst/tta/Makefile.am:
* gst/vbidec/Makefile.am:
* gst/videodrop/Makefile.am:
* gst/videosignal/Makefile.am:
* gst/virtualdub/Makefile.am:
* gst/vmnc/Makefile.am:
* gst/y4m/Makefile.am:
* sys/acmenc/Makefile.am:
* sys/cdrom/Makefile.am:
* sys/dshowdecwrapper/Makefile.am:
* sys/dshowsrcwrapper/Makefile.am:
* sys/dvb/Makefile.am:
* sys/dxr3/Makefile.am:
* sys/fbdev/Makefile.am:
* sys/oss4/Makefile.am:
* sys/qcam/Makefile.am:
* sys/qtwrapper/Makefile.am:
* sys/vcd/Makefile.am:
* sys/wininet/Makefile.am:
* win32/common/config.h:
Don't install static libs for plugins. Fixes #550851 for -bad.
2011-06-15 16:12:54 +02:00
Edward Hervey
638bde5efe
[MOVED FROM BAD 28/68] Fix leaks.
...
Original commit message from CVS:
* ext/amrwb/gstamrwbdec.c: (gst_amrwbdec_init):
* ext/amrwb/gstamrwbenc.c: (gst_amrwbenc_init):
* ext/amrwb/gstamrwbparse.c: (gst_amrwbparse_init):
* ext/audioresample/gstaudioresample.c:
* ext/bz2/gstbz2dec.c: (gst_bz2dec_init):
* ext/bz2/gstbz2enc.c: (gst_bz2enc_init):
* ext/divx/gstdivxdec.c: (gst_divxdec_init):
* ext/divx/gstdivxenc.c: (gst_divxenc_init):
* ext/faac/gstfaac.c: (gst_faac_init):
* ext/gsm/gstgsmdec.c: (gst_gsmdec_init):
* ext/gsm/gstgsmenc.c: (gst_gsmenc_init):
* ext/hermes/gsthermescolorspace.c: (gst_hermes_colorspace_init):
* ext/lcs/gstcolorspace.c: (gst_colorspace_init):
* ext/libfame/gstlibfame.c: (gst_fameenc_init):
* ext/snapshot/gstsnapshot.c: (gst_snapshot_init):
* ext/spc/gstspc.c: (gst_spc_dec_init):
* ext/swfdec/gstswfdec.c: (gst_swfdec_init):
* ext/xvid/gstxvidenc.c: (gst_xvidenc_init):
* gst/cdxaparse/gstcdxaparse.c: (gst_cdxa_parse_init):
* gst/cdxaparse/gstcdxastrip.c: (gst_cdxastrip_init):
* gst/chart/gstchart.c: (gst_chart_init):
* gst/colorspace/gstcolorspace.c: (gst_colorspace_init):
* gst/festival/gstfestival.c: (gst_festival_init):
* gst/freeze/gstfreeze.c: (gst_freeze_init):
* gst/mixmatrix/mixmatrix.c: (gst_mixmatrix_request_new_pad):
* gst/mpeg1sys/gstmpeg1systemencode.c: (gst_system_encode_init):
* gst/mpeg2sub/gstmpeg2subt.c: (gst_mpeg2subt_init):
* gst/nsf/gstnsf.c: (gst_nsfdec_init):
* gst/overlay/gstoverlay.c: (gst_overlay_init):
* gst/passthrough/gstpassthrough.c: (passthrough_init):
* gst/playondemand/gstplayondemand.c: (play_on_demand_init):
* gst/smooth/gstsmooth.c: (gst_smooth_init):
* gst/smoothwave/gstsmoothwave.c: (gst_smoothwave_init):
* gst/speed/gstspeed.c: (speed_init):
* gst/vbidec/gstvbidec.c: (gst_vbidec_init):
* gst/videodrop/gstvideodrop.c: (gst_videodrop_init):
* sys/dxr3/dxr3spusink.c: (dxr3spusink_init):
* sys/dxr3/dxr3videosink.c: (dxr3videosink_init):
* sys/qcam/gstqcamsrc.c: (gst_qcamsrc_init):
Fix leaks.
2011-06-15 16:12:54 +02:00
Stefan Kost
8239691a78
[MOVED FROM BAD 27/68] Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
...
Original commit message from CVS:
* ext/alsaspdif/alsaspdifsink.h:
* ext/amrwb/gstamrwbdec.h:
* ext/amrwb/gstamrwbenc.h:
* ext/amrwb/gstamrwbparse.h:
* ext/arts/gst_arts.h:
* ext/artsd/gstartsdsink.h:
* ext/audiofile/gstafparse.h:
* ext/audiofile/gstafsink.h:
* ext/audiofile/gstafsrc.h:
* ext/audioresample/gstaudioresample.h:
* ext/bz2/gstbz2dec.h:
* ext/bz2/gstbz2enc.h:
* ext/dirac/gstdiracdec.h:
* ext/directfb/dfbvideosink.h:
* ext/divx/gstdivxdec.h:
* ext/divx/gstdivxenc.h:
* ext/dts/gstdtsdec.h:
* ext/faac/gstfaac.h:
* ext/gsm/gstgsmdec.h:
* ext/gsm/gstgsmenc.h:
* ext/ivorbis/vorbisenc.h:
* ext/libfame/gstlibfame.h:
* ext/nas/nassink.h:
* ext/neon/gstneonhttpsrc.h:
* ext/polyp/polypsink.h:
* ext/sdl/sdlaudiosink.h:
* ext/sdl/sdlvideosink.h:
* ext/shout/gstshout.h:
* ext/snapshot/gstsnapshot.h:
* ext/sndfile/gstsf.h:
* ext/swfdec/gstswfdec.h:
* ext/tarkin/gsttarkindec.h:
* ext/tarkin/gsttarkinenc.h:
* ext/theora/theoradec.h:
* ext/wavpack/gstwavpackdec.h:
* ext/wavpack/gstwavpackparse.h:
* ext/xine/gstxine.h:
* ext/xvid/gstxviddec.h:
* ext/xvid/gstxvidenc.h:
* gst/cdxaparse/gstcdxaparse.h:
* gst/cdxaparse/gstcdxastrip.h:
* gst/colorspace/gstcolorspace.h:
* gst/festival/gstfestival.h:
* gst/freeze/gstfreeze.h:
* gst/gdp/gstgdpdepay.h:
* gst/gdp/gstgdppay.h:
* gst/modplug/gstmodplug.h:
* gst/mpeg1sys/gstmpeg1systemencode.h:
* gst/mpeg1videoparse/gstmp1videoparse.h:
* gst/mpeg2sub/gstmpeg2subt.h:
* gst/mpegaudioparse/gstmpegaudioparse.h:
* gst/multifilesink/gstmultifilesink.h:
* gst/overlay/gstoverlay.h:
* gst/playondemand/gstplayondemand.h:
* gst/qtdemux/qtdemux.h:
* gst/rtjpeg/gstrtjpegdec.h:
* gst/rtjpeg/gstrtjpegenc.h:
* gst/smooth/gstsmooth.h:
* gst/smoothwave/gstsmoothwave.h:
* gst/spectrum/gstspectrum.h:
* gst/speed/gstspeed.h:
* gst/stereo/gststereo.h:
* gst/switch/gstswitch.h:
* gst/tta/gstttadec.h:
* gst/tta/gstttaparse.h:
* gst/videodrop/gstvideodrop.h:
* gst/xingheader/gstxingmux.h:
* sys/directdraw/gstdirectdrawsink.h:
* sys/directsound/gstdirectsoundsink.h:
* sys/dxr3/dxr3audiosink.h:
* sys/dxr3/dxr3spusink.h:
* sys/dxr3/dxr3videosink.h:
* sys/qcam/gstqcamsrc.h:
* sys/vcd/vcdsrc.h:
Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
2011-06-15 16:12:54 +02:00
Stefan Kost
2a0b62f89c
[MOVED FROM BAD 26/68] Define GstElementDetails as const and also static (when defined as global)
...
Original commit message from CVS:
* ext/amrwb/gstamrwbdec.c:
* ext/amrwb/gstamrwbenc.c:
* ext/amrwb/gstamrwbparse.c:
* ext/arts/gst_arts.c:
* ext/artsd/gstartsdsink.c:
* ext/audiofile/gstafparse.c:
* ext/audiofile/gstafsink.c:
* ext/audiofile/gstafsrc.c:
* ext/audioresample/gstaudioresample.c:
* ext/bz2/gstbz2dec.c:
* ext/bz2/gstbz2enc.c:
* ext/cdaudio/gstcdaudio.c:
* ext/directfb/dfbvideosink.c:
* ext/divx/gstdivxdec.c:
* ext/divx/gstdivxenc.c:
* ext/dts/gstdtsdec.c: (gst_dtsdec_base_init):
* ext/faac/gstfaac.c: (gst_faac_base_init):
* ext/faad/gstfaad.c:
* ext/gsm/gstgsmdec.c:
* ext/gsm/gstgsmenc.c:
* ext/hermes/gsthermescolorspace.c:
* ext/ivorbis/vorbisfile.c:
* ext/lcs/gstcolorspace.c:
* ext/libfame/gstlibfame.c:
* ext/libmms/gstmms.c: (gst_mms_base_init):
* ext/musepack/gstmusepackdec.c: (gst_musepackdec_base_init):
* ext/musicbrainz/gsttrm.c: (gst_musicbrainz_base_init):
* ext/nas/nassink.c: (gst_nassink_base_init):
* ext/neon/gstneonhttpsrc.c:
* ext/sdl/sdlaudiosink.c:
* ext/sdl/sdlvideosink.c:
* ext/shout/gstshout.c:
* ext/snapshot/gstsnapshot.c:
* ext/sndfile/gstsf.c:
* ext/swfdec/gstswfdec.c:
* ext/tarkin/gsttarkindec.c:
* ext/tarkin/gsttarkinenc.c:
* ext/theora/theoradec.c:
* ext/wavpack/gstwavpackdec.c: (gst_wavpack_dec_base_init):
* ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_base_init):
* ext/xvid/gstxviddec.c:
* ext/xvid/gstxvidenc.c:
* gst/cdxaparse/gstcdxaparse.c: (gst_cdxa_parse_base_init):
* gst/cdxaparse/gstcdxastrip.c: (gst_cdxastrip_base_init):
* gst/chart/gstchart.c:
* gst/colorspace/gstcolorspace.c:
* gst/deinterlace/gstdeinterlace.c:
* gst/equalizer/gstiirequalizer.c: (gst_iir_equalizer_base_init):
* gst/festival/gstfestival.c:
* gst/filter/gstbpwsinc.c:
* gst/filter/gstiir.c:
* gst/filter/gstlpwsinc.c:
* gst/freeze/gstfreeze.c:
* gst/games/gstpuzzle.c: (gst_puzzle_base_init):
* gst/librfb/gstrfbsrc.c:
* gst/mixmatrix/mixmatrix.c:
* gst/mpeg1sys/gstmpeg1systemencode.c:
* gst/mpeg1videoparse/gstmp1videoparse.c:
* gst/mpeg2sub/gstmpeg2subt.c:
* gst/mpegaudioparse/gstmpegaudioparse.c:
* gst/multifilesink/gstmultifilesink.c:
* gst/overlay/gstoverlay.c:
* gst/passthrough/gstpassthrough.c:
* gst/playondemand/gstplayondemand.c:
* gst/qtdemux/qtdemux.c:
* gst/rtjpeg/gstrtjpegdec.c:
* gst/rtjpeg/gstrtjpegenc.c:
* gst/smooth/gstsmooth.c:
* gst/smoothwave/gstsmoothwave.c:
* gst/spectrum/gstspectrum.c:
* gst/speed/gstspeed.c:
* gst/stereo/gststereo.c:
* gst/switch/gstswitch.c:
* gst/tta/gstttadec.c: (gst_tta_dec_base_init):
* gst/tta/gstttaparse.c: (gst_tta_parse_base_init):
* gst/vbidec/gstvbidec.c:
* gst/videocrop/gstvideocrop.c:
* gst/videodrop/gstvideodrop.c:
* gst/virtualdub/gstxsharpen.c:
* gst/xingheader/gstxingmux.c: (gst_xing_mux_base_init):
* gst/y4m/gsty4mencode.c:
* sys/cdrom/gstcdplayer.c:
* sys/directdraw/gstdirectdrawsink.c:
* sys/directsound/gstdirectsoundsink.c:
* sys/glsink/glimagesink.c:
* sys/qcam/gstqcamsrc.c:
* sys/v4l2/gstv4l2src.c:
* sys/vcd/vcdsrc.c: (gst_vcdsrc_base_init):
* sys/ximagesrc/ximagesrc.c:
Define GstElementDetails as const and also static (when defined as
global)
2011-06-15 16:12:54 +02:00
Stefan Kost
b4b8f2ff25
[MOVED FROM BAD 25/68] Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
...
Original commit message from CVS:
* ext/amrwb/gstamrwbdec.c: (gst_amrwbdec_class_init):
* ext/amrwb/gstamrwbenc.c: (gst_amrwbenc_class_init):
* ext/amrwb/gstamrwbparse.c: (gst_amrwbparse_class_init):
* ext/arts/gst_arts.c: (gst_arts_class_init):
* ext/artsd/gstartsdsink.c: (gst_artsdsink_class_init):
* ext/audiofile/gstafsink.c: (gst_afsink_class_init):
* ext/audiofile/gstafsrc.c: (gst_afsrc_class_init):
* ext/audioresample/gstaudioresample.c:
* ext/cdaudio/gstcdaudio.c: (gst_cdaudio_class_init):
* ext/directfb/dfbvideosink.c: (gst_dfbvideosink_class_init):
* ext/divx/gstdivxdec.c: (gst_divxdec_class_init):
* ext/hermes/gsthermescolorspace.c:
(gst_hermes_colorspace_class_init):
* ext/ivorbis/vorbisfile.c: (gst_ivorbisfile_class_init):
* ext/jack/gstjack.c: (gst_jack_class_init):
* ext/jack/gstjackbin.c: (gst_jack_bin_class_init):
* ext/lcs/gstcolorspace.c: (gst_colorspace_class_init):
* ext/libfame/gstlibfame.c: (gst_fameenc_class_init):
* ext/musicbrainz/gsttrm.c: (gst_musicbrainz_class_init):
* ext/nas/nassink.c: (gst_nassink_class_init):
* ext/shout/gstshout.c: (gst_icecastsend_class_init):
* ext/snapshot/gstsnapshot.c: (gst_snapshot_class_init):
* ext/sndfile/gstsf.c: (gst_sf_class_init):
* ext/swfdec/gstswfdec.c: (gst_swfdecbuffer_class_init),
(gst_swfdec_class_init):
* ext/tarkin/gsttarkindec.c: (gst_tarkindec_class_init):
* ext/tarkin/gsttarkinenc.c: (gst_tarkinenc_class_init):
* gst/cdxaparse/gstcdxastrip.c: (gst_cdxastrip_class_init):
* gst/chart/gstchart.c: (gst_chart_class_init):
* gst/colorspace/gstcolorspace.c: (gst_colorspace_class_init):
* gst/deinterlace/gstdeinterlace.c: (gst_deinterlace_class_init):
* gst/festival/gstfestival.c: (gst_festival_class_init):
* gst/filter/gstbpwsinc.c: (gst_bpwsinc_class_init):
* gst/filter/gstiir.c: (gst_iir_class_init):
* gst/filter/gstlpwsinc.c: (gst_lpwsinc_class_init):
* gst/librfb/gstrfbsrc.c: (gst_rfbsrc_class_init):
* gst/mixmatrix/mixmatrix.c: (gst_mixmatrix_class_init):
* gst/mpeg1sys/gstmpeg1systemencode.c:
(gst_system_encode_class_init):
* gst/mpeg1videoparse/gstmp1videoparse.c:
(gst_mp1videoparse_class_init):
* gst/mpeg2sub/gstmpeg2subt.c: (gst_mpeg2subt_class_init):
* gst/mpegaudioparse/gstmpegaudioparse.c:
(gst_mp3parse_class_init):
* gst/overlay/gstoverlay.c: (gst_overlay_class_init):
* gst/passthrough/gstpassthrough.c: (passthrough_class_init):
* gst/playondemand/gstplayondemand.c: (play_on_demand_class_init):
* gst/rtjpeg/gstrtjpegdec.c: (gst_rtjpegdec_class_init):
* gst/rtjpeg/gstrtjpegenc.c: (gst_rtjpegenc_class_init):
* gst/smooth/gstsmooth.c: (gst_smooth_class_init):
* gst/smoothwave/gstsmoothwave.c: (gst_smoothwave_class_init):
* gst/spectrum/gstspectrum.c: (gst_spectrum_class_init):
* gst/stereo/gststereo.c: (gst_stereo_class_init):
* gst/switch/gstswitch.c: (gst_switch_class_init):
* gst/tta/gstttadec.c: (gst_tta_dec_class_init):
* gst/tta/gstttaparse.c: (gst_tta_parse_class_init):
* gst/vbidec/gstvbidec.c: (gst_vbidec_class_init):
* gst/videocrop/gstvideocrop.c: (gst_video_crop_class_init):
* gst/virtualdub/gstxsharpen.c: (gst_xsharpen_class_init):
* gst/y4m/gsty4mencode.c: (gst_y4mencode_class_init):
* sys/cdrom/gstcdplayer.c: (cdplayer_class_init):
* sys/directsound/gstdirectsoundsink.c:
(gst_directsoundsink_class_init):
* sys/dxr3/dxr3audiosink.c: (dxr3audiosink_class_init):
* sys/dxr3/dxr3spusink.c: (dxr3spusink_class_init):
* sys/dxr3/dxr3videosink.c: (dxr3videosink_class_init):
* sys/qcam/gstqcamsrc.c: (gst_qcamsrc_class_init):
* sys/v4l2/gstv4l2colorbalance.c:
(gst_v4l2_color_balance_channel_class_init):
* sys/v4l2/gstv4l2tuner.c: (gst_v4l2_tuner_channel_class_init),
(gst_v4l2_tuner_norm_class_init):
* sys/ximagesrc/ximagesrc.c: (gst_ximagesrc_class_init):
Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
2011-06-15 16:12:53 +02:00
Stefan Kost
fbc721c15e
[MOVED FROM BAD 24/68] gst/: Fix more broken GObject macros
...
Original commit message from CVS:
* gst/colorspace/gstcolorspace.h:
* gst/deinterlace/gstdeinterlace.h:
* gst/passthrough/gstpassthrough.h:
* gst/y4m/gsty4mencode.h:
Fix more broken GObject macros
2011-06-15 16:12:53 +02:00
Thomas Vander Stichele
06693d83bd
[MOVED FROM BAD 23/68] rework build; add translations for v4l2
...
Original commit message from CVS:
rework build; add translations for v4l2
2011-06-15 16:12:53 +02:00
Thomas Vander Stichele
62fdb630f7
[MOVED FROM BAD 22/68] expand tabs
...
Original commit message from CVS:
expand tabs
2011-06-15 16:12:53 +02:00
Andy Wingo
5998653602
[MOVED FROM BAD 21/68] Update for alloc_buffer changes.
...
Original commit message from CVS:
2005-12-05 Andy Wingo <wingo@pobox.com>
* ext/faac/gstfaac.c: (gst_faac_sink_event), (gst_faac_chain):
* ext/faad/gstfaad.c: (gst_faad_chain):
* ext/hermes/gsthermescolorspace.c: (gst_hermes_colorspace_chain):
* ext/lcs/gstcolorspace.c: (gst_colorspace_chain):
* ext/xine/xineinput.c: (gst_xine_input_get):
* gst/colorspace/gstcolorspace.c: (gst_colorspace_chain):
* gst/speed/gstspeed.c: (speed_chain):
* gst/videocrop/gstvideocrop.c: (gst_video_crop_chain): Update for
alloc_buffer changes.
2011-06-15 16:12:53 +02:00
Jan Schmidt
7aeaaea834
[MOVED FROM BAD 20/68] Fix up all the state change functions.
...
Original commit message from CVS:
Fix up all the state change functions.
2011-06-15 16:12:53 +02:00
Thomas Vander Stichele
97d8584305
[MOVED FROM BAD 19/68] pound some sense in the colorspace elements
...
Original commit message from CVS:
pound some sense in the colorspace elements
2011-06-15 16:12:53 +02:00
Andy Wingo
04c7b716fd
[MOVED FROM BAD 18/68] Way, way, way too many files: Remove crack comment from the 2000 era.
...
Original commit message from CVS:
2005-07-05 Andy Wingo <wingo@pobox.com>
* Way, way, way too many files:
Remove crack comment from the 2000 era.
2011-06-15 16:12:53 +02:00
Steve Lhomme
3f31bb192a
[MOVED FROM BAD 17/68] more working plugins
...
Original commit message from CVS:
more working plugins
2011-06-15 16:12:53 +02:00
Steve Lhomme
020cab418d
[MOVED FROM BAD 16/68] rename GStreamer-0.8.lib to libgstreamer.lib
...
Original commit message from CVS:
rename GStreamer-0.8.lib to libgstreamer.lib
2011-06-15 16:12:53 +02:00
Steve Lhomme
7b2e697a97
[MOVED FROM BAD 15/68] avoid problems with math.h, fix release dependancy
...
Original commit message from CVS:
avoid problems with math.h, fix release dependancy
2011-06-15 16:12:53 +02:00
Steve Lhomme
c91297ae4c
[MOVED FROM BAD 14/68] local include fixes
...
Original commit message from CVS:
local include fixes
Fix some 64 bits constants to be glib friendly
issue for a vararg macro with MSVC
2011-06-15 16:12:53 +02:00
Steve Lhomme
b7d093a549
[MOVED FROM BAD 13/68] more plugins supported under windows
...
Original commit message from CVS:
more plugins supported under windows
2011-06-15 16:12:53 +02:00
Stéphane Loeuillet
3395a05ff1
[MOVED FROM BAD 12/68] first batch : remove ',' at end of enums as they could confuse older gcc, foreign compilers (forte) and gtk-doc
...
Original commit message from CVS:
first batch :
remove ',' at end of enums as they could confuse older gcc, foreign compilers (forte) and gtk-doc
2011-06-15 16:12:53 +02:00
Benjamin Otte
080ba0e1ab
[MOVED FROM BAD 11/68] s/gst_caps_simplify/gst_caps_do_simplify/
...
Original commit message from CVS:
* ext/hermes/gsthermescolorspace.c:
(gst_hermes_colorspace_caps_remove_format_info):
* gst/colorspace/gstcolorspace.c:
(gst_colorspace_caps_remove_format_info):
* gst/ffmpegcolorspace/gstffmpegcolorspace.c:
(gst_ffmpegcolorspace_caps_remove_format_info):
s/gst_caps_simplify/gst_caps_do_simplify/
2011-06-15 16:12:53 +02:00
David Schleef
fe6699ec28
[MOVED FROM BAD 10/68] gst/colorspace/gstcolorspace.c: Don't advertise a conversion we don't support (bug #139532 )
...
Original commit message from CVS:
* gst/colorspace/gstcolorspace.c: Don't advertise a conversion
we don't support (bug #139532 )
2011-06-15 16:12:53 +02:00
David Schleef
1513e5afa2
[MOVED FROM BAD 09/68] ext/hermes/gsthermescolorspace.c: decrease rank by 2 to not interfere with other colorspaces.
...
Original commit message from CVS:
* ext/hermes/gsthermescolorspace.c: (plugin_init): decrease rank
by 2 to not interfere with other colorspaces.
* ext/pango/gsttextoverlay.c: (plugin_init): change rank to NONE
* gst/colorspace/gstcolorspace.c: (plugin_init): decrease rank by
one to not interfere with ffmpeg_colorspace.
2011-06-15 16:12:52 +02:00
Thomas Vander Stichele
b99391b709
[MOVED FROM BAD 08/68] don't mix tabs and spaces
...
Original commit message from CVS:
don't mix tabs and spaces
2011-06-15 16:12:52 +02:00
Johan Dahlin
5c6a30bd77
[MOVED FROM BAD 07/68] *.h: Revert indenting
...
Original commit message from CVS:
* *.h: Revert indenting
2011-06-15 16:12:52 +02:00
Thomas Vander Stichele
f20bede182
[MOVED FROM BAD 06/68] gst-indent
...
Original commit message from CVS:
gst-indent
2011-06-15 16:12:52 +02:00
David Schleef
243acdb0a4
[MOVED FROM BAD 05/68] configure.ac: the Hermes library controls hermescolorspace, not colorspace.
...
Original commit message from CVS:
* configure.ac: the Hermes library controls hermescolorspace, not
colorspace.
* ext/mpeg2dec/gstmpeg2dec.c: (gst_mpeg2dec_base_init),
(gst_mpeg2dec_init): minor pet peeve: disable code with #ifdef,
not /* */
* ext/sdl/sdlvideosink.c: Change XID to unsigned long.
* ext/sdl/sdlvideosink.h: ditto.
* gst/colorspace/gstcolorspace.c: Fix old comments about Hermes
2011-06-15 16:12:52 +02:00
Christian Schaller
0d48ebcedb
[MOVED FROM BAD 04/68] fix to make it possible to build from disted tarball
...
Original commit message from CVS:
fix to make it possible to build from disted tarball
2011-06-15 16:12:52 +02:00
David Schleef
29c59b3a30
[MOVED FROM BAD 03/68] gst-libs/gst/audio/Makefile.am: Add gstaudiofiltertemplate.c and building of gstaudiofilterexample.c from the template.
...
Original commit message from CVS:
* gst-libs/gst/audio/Makefile.am:
Add gstaudiofiltertemplate.c and building of gstaudiofilterexample.c
from the template.
* gst-libs/gst/audio/gstaudiofilter.c:
* gst-libs/gst/audio/gstaudiofilter.h:
Add bytes_per_sample and size and n_samples calculation.
* gst-libs/gst/audio/gstaudiofilterexample.c:
Remove, now autogenerated.
* gst-libs/gst/audio/gstaudiofiltertemplate.c:
Moved from gstaudiofilterexample, object name changed, code added
so that it actually works.
* gst-libs/gst/audio/make_filter:
Script to build an audiofilter subclass from the template.
* gst/colorspace/Makefile.am:
* gst/colorspace/yuv2yuv.c:
Remove file, since it's GPL, and we don't use it.
2011-06-15 16:12:52 +02:00
Ronald S. Bultje
9ccfe27e27
[MOVED FROM BAD 02/68] gst/colorspace/: Fix compiling... Didn't test if it actually works.
...
Original commit message from CVS:
2004-01-15 Ronald Bultje <rbultje@ronald.bitfreak.net>
* gst/colorspace/gstcolorspace.c:
* gst/colorspace/yuv2yuv.c: (gst_colorspace_yuy2_to_i420),
(gst_colorspace_i420_to_yv12):
Fix compiling... Didn't test if it actually works.
2011-06-15 16:12:52 +02:00
David Schleef
a91e1fa46b
[MOVED FROM BAD 01/68] Duplicate the ext/hermes colorspace plugin, and remove Hermes code and GPL code. Fix for new caps negotiation. Rewr...
...
Original commit message from CVS:
* configure.ac:
* gst/colorspace/Makefile.am:
* gst/colorspace/gstcolorspace.c:
* gst/colorspace/gstcolorspace.h:
* gst/colorspace/yuv2rgb.c:
* gst/colorspace/yuv2rgb.h:
Duplicate the ext/hermes colorspace plugin, and remove Hermes
code and GPL code. Fix for new caps negotiation. Rewrite
much of the format handling code, and some of the conversion
code. Basically, rewrote almost everything. This element
handles I420, YV12 to RGB conversions.
* ext/hermes/Makefile.am:
* ext/hermes/gsthermescolorspace.c:
Rename colorspace to hermescolorspace. Fix negotiation issues.
Remove non-Hermes related code. This element handles lots of
RGB to RGB conversions, but no YUV.
* ext/hermes/gstcolorspace.c:
* ext/hermes/gstcolorspace.h:
* ext/hermes/rgb2yuv.c:
* ext/hermes/yuv2rgb.c:
* ext/hermes/yuv2rgb.h:
* ext/hermes/yuv2rgb_mmx16.s:
* ext/hermes/yuv2yuv.c:
* ext/hermes/yuv2yuv.h:
Remove old code.
2011-06-15 16:12:52 +02:00
Tim-Philipp Müller
59581d464f
uridecodebin, decodebin: remove new-decoded-pad and removed-decoded-pad signals
...
They were deprecated, use "pad-added" and "pad-removed" instead.
2011-06-15 00:32:23 +01:00
Tim-Philipp Müller
8573dbdf66
playback: rename playbin2 to playbin
...
But keep source file name as-is for now.
2011-06-15 00:06:09 +01:00
Tim-Philipp Müller
5fd073e070
playback: merge playbin and decodebin plugins into one single playback plugin again
2011-06-15 00:02:13 +01:00
Tim-Philipp Müller
b5ef8efa1a
decodebin2: rename decodebin2 to decodebin
...
But don't rename source file for now, which hopefully
makes merging from master easier.
2011-06-14 23:53:38 +01:00
Tim-Philipp Müller
24f28cfdb0
playback: remove old playbin and decodebin elements
2011-06-14 23:42:27 +01:00
Debarshi Ray
2c6dbae423
Remove unused but set variables
...
This is needed to satisfy the new -Wunused-but-set-variable added in
GCC 4.6: http://gcc.gnu.org/gcc-4.6/changes.html
2011-06-14 22:40:13 +01:00
Wim Taymans
40d567153a
Merge branch 'master' into 0.11
2011-06-13 19:09:05 +02:00
Wim Taymans
9c54ca5254
-base: update for buffer API change
2011-06-13 16:32:56 +02:00
Wim Taymans
f542a3e582
videotestsrc: use baseclass allocator negotiation logic
...
Let the baseclass implement the negotiation of the allocators.
Influence the allocator buffersize.
Use the fill vmethod to fill the buffer with data.
2011-06-13 12:09:34 +02:00
Wim Taymans
1c8324a0d1
update for bufferpool api change
2011-06-11 18:54:44 +02:00
David Schleef
4db89c82bb
convert M_PI to G_PI, for msvc
2011-06-10 23:56:34 -07:00
Wim Taymans
408221119c
videotestsrc: fix for alignment value change
2011-06-10 17:58:26 +02:00
Wim Taymans
0ac9bb7d99
Merge branch 'master' into 0.11
...
Conflicts:
tests/examples/audio/Makefile.am
tests/examples/v4l/Makefile.am
2011-06-10 12:14:57 +02:00
Wim Taymans
db999572a8
-base: fix for flush_stop event API change
2011-06-10 11:59:53 +02:00
Wim Taymans
f565812e25
playback: changes for message API changes
2011-06-08 13:45:41 +02:00
Tim-Philipp Müller
c692191c33
GST_PLUGINS_BASE_LIBS is not defined in -base.
2011-06-08 12:21:43 +01:00
Tim-Philipp Müller
c092981b16
Remove v4l plugin
...
The old v4l interface has been deprecated for years and even
been removed from the kernel headers. If anyone still needs
this plugin, they can resurrect it in gst-plugins-bad, there's
no reason for it to be in -base.
2011-06-07 20:47:46 +01:00
Wim Taymans
2940249a84
-base: use caps event
...
Remove uses of setcaps function and use the caps event.
2011-06-07 11:55:36 +02:00
Wim Taymans
beb864bd93
-base: use caps event instead of setcapsfunction
2011-06-07 10:58:27 +02:00
Wim Taymans
c88ee10c9b
Merge branch 'master' into 0.11
...
Conflicts:
ext/theora/gsttheoraenc.c
2011-06-06 16:27:12 +02:00
Wim Taymans
8722bdc694
videotestsrc: remove deprecated peer-alloc property
...
Remove the peer-alloc property, it's not used anymore because pad-alloc is gone.
2011-06-06 16:13:43 +02:00
Tim-Philipp Müller
4db75330b2
subparse: fix indentation
2011-06-06 00:23:59 +01:00
David Schleef
836081abee
adder: Work around changes in g_atomic API
...
See #651514 for details.
2011-06-04 13:36:55 -07:00
Wim Taymans
c74443b347
typefind: fix after merge
2011-06-03 13:16:09 +02:00
Wim Taymans
5f271d64a6
playback: fix compilation after ghostpad setcaps removal
2011-06-03 13:12:31 +02:00
Wim Taymans
0200e720de
Merge branch 'master' into 0.11
2011-06-02 19:26:33 +02:00
Tim-Philipp Müller
d10a7b439b
typefinding: add typefinder for WAP WBMP bitmaps
...
https://bugzilla.gnome.org/show_bug.cgi?id=651294
2011-06-02 14:36:06 +01:00
Wim Taymans
f9967e4aac
Merge branch 'master' into 0.11
...
Conflicts:
gst-libs/gst/video/video.h
gst/playback/gstplaysinkaudioconvert.c
gst/playback/gstplaysinkvideoconvert.c
tests/check/libs/rtp.c
2011-06-02 12:18:13 +02:00
Wim Taymans
ea672b68a1
playsinconvert: clear the probe id when removing
2011-06-02 12:12:04 +02:00
Wim Taymans
3b09cfe54d
playsink: refactor block/unblock code a little
2011-06-02 12:08:22 +02:00
Sebastian Dröge
5c97aa2e5c
playsink: Fix deadlock in the audio/video converter bins when linking fails
2011-06-02 11:54:35 +02:00
Wim Taymans
f91c753959
probes: port to new API for blocking and probes
2011-06-01 19:34:54 +02:00
Sebastian Dröge
8f967e9e70
volume: Fix handling of volume>=4.0 for 8 and 16 bit integer formats
...
Also add a unit test for this. Previously volumes bigger than 4.0
would have resulted in overflows in the fixed point processing.
Fixes bug #649642 .
2011-05-31 11:07:11 +02:00
Wim Taymans
c7428aeaae
playbin: fixed for new pad block API
2011-05-30 18:36:14 +02:00
Sebastian Dröge
0c99ab5806
videoscale: Optimize transform_caps()
...
If the second and next caps structures are a subset of the already existing
transformed caps we can safely skip them because we would transform them to
the same caps again.
2011-05-27 14:37:41 +02:00
Sebastian Dröge
da4e79bb6b
ffmpegcolorspace: Optimize transform_caps()
...
If the second and next caps structures are a subset of the already existing
transformed caps we can safely skip them because we would transform them to
the same caps again.
2011-05-27 14:34:37 +02:00
Sebastian Dröge
a2162b07ad
audioresample: Optimize transform_caps()
...
If the second and next caps structures are a subset of the already existing
transformed caps we can safely skip them because we would transform them to
the same caps again.
2011-05-27 14:31:02 +02:00
Sebastian Dröge
4fcd621101
audioconvert: Use new gst_caps_is_subset_structure() API
...
This prevents one copy of every structure and creating a new caps
instance.
2011-05-27 14:10:50 +02:00
Sebastian Dröge
d590bce5f7
audioconvert: Optimize transform_caps()
...
If the second and next caps structures are a subset of the already existing
transformed caps we can safely skip them because we would transform them to
the same caps again.
This makes gst_pad_get_caps() on an audiotestsrc ! audioconvert !
audioconvert ! audioconvert ! fakesink pipeline about 1.7 times faster.
2011-05-27 13:13:42 +02:00
Sebastian Dröge
d8e0af1fc1
gst: Update for the GstBaseTransform::transform_caps() changes
2011-05-27 12:13:14 +02:00
Wim Taymans
8501753033
-base: change for changed set_blocked API
2011-05-26 16:18:16 +02:00
Sebastian Dröge
bf08ca7020
Merge branch 'master' into 0.11
2011-05-26 13:54:09 +02:00
Sebastian Dröge
216258fbc2
playbin2: Let the input-selectors sync all streams to the running time
...
This is especially needed when switching between a non-sparse and sparse
video stream, see bug #537382 . It also lowers the time needed for switching
between streams a bit.
2011-05-26 11:41:50 +02:00
Stefan Kost
5cd0e0f666
audiotestsrc: add blue and violet noise by using spectral inversion
...
Add blue and violet noise by spectral inversion of pink and red noise.
Fixes #649969
2011-05-26 00:18:55 +03:00
Stefan Kost
1cf831e74e
audiotestsrc: add red (brownian) noise generator
...
Add another noise generator which produces a quite dark noise color.
Fixes parts of #649969 .
2011-05-25 23:43:56 +03:00
Stefan Kost
1916eecc30
volume: use a flag for 'mute' using the controller
...
Previously we checked mute_csource to determine wheter we need to premultiply
volumes and mute values. That fails as we unrefs mute_csource and set it to
NULL after. Use an extra flag instead.
2011-05-25 14:28:18 +03:00
Wim Taymans
e614c6bd81
feature: use object name instaed of feature name
2011-05-24 18:21:06 +02:00
Wim Taymans
010add200a
scheduling: port to new scheduling query
2011-05-24 17:37:45 +02:00
Wim Taymans
a87c021237
Merge branch 'master' into 0.11
...
Conflicts:
gst-libs/gst/video/convertframe.c
2011-05-24 09:47:15 +02:00
Sebastian Dröge
c867f677c0
subparse: Try to typefind even if conversion to UTF8 failed
...
Fixes bug #600043 .
2011-05-23 16:05:35 +02:00
Sebastian Dröge
2c7cdbc2ca
subparse: Compile the typefind regex with optimization to speed up matching
2011-05-23 16:05:35 +02:00
Sebastian Dröge
3dc4987138
subparse: Interprete typefind strings passed to GRegex as raw bytes instead of valid UTF8
2011-05-23 16:05:35 +02:00
Stefan Kost
762bb236fa
docs: fixup appsrc/sink api docs
2011-05-23 15:02:27 +03:00
Wim Taymans
6688eea15c
encodebin: use new method
...
Use the new element class method to get the metadata from an element. Not all
elements might have an elementfactory.
2011-05-20 12:50:39 +02:00
Sebastian Dröge
1be10803ba
encodebin: Fix compilation after the removal of GstElementDetails
2011-05-20 12:32:35 +02:00
Sebastian Dröge
a9b134d1a9
Merge branch 'master' into 0.11
...
Conflicts:
docs/plugins/gst-plugins-base-plugins.hierarchy
docs/plugins/gst-plugins-base-plugins.interfaces
docs/plugins/gst-plugins-base-plugins.prerequisites
2011-05-20 12:26:57 +02:00
Stefan Kost
f514be993c
audioconvert: cleanup helper code
...
make_lossless_changes() returns the same structure that we're passing (probably
to enable chaining). Instead of reusing s and making it point to s2 as well,
keep using s2. Drop the assignment which in the 2nd case is a dead one anyway.
2011-05-19 23:41:08 +03:00
Thiago Santos
b5fb542386
encodebin: Autoplug formatters
...
Autoplug formatters for streams if a formatter with secondary or
higher rank is found. Formatters are autoplugged when there is no
muxer or when the muxer doesn't implement the tagsetter interface.
Currently only the first formatter found is plugged, this might
help in lots of cases, but it doesn't solve the
'lamemp3 ! xingmux ! id3mux'
case.
https://bugzilla.gnome.org/show_bug.cgi?id=649841
2011-05-19 08:35:46 -03:00
Thiago Santos
0060900d68
encodebin: fix typos
2011-05-19 08:30:03 -03:00
Sebastian Dröge
884213b8b8
base: Update for SEGMENT event parse API changes
2011-05-18 17:23:18 +02:00
Sebastian Dröge
a46485e357
gst: Update for caps/pad template related API changes
2011-05-17 13:06:01 +02:00
Sebastian Dröge
03f9ca3d64
encodebin: Update for caps/pad template related API changes
2011-05-17 13:06:00 +02:00
Sebastian Dröge
318ed07598
Revert "-base_port to new query API"
...
This reverts commit c9f4e0676b
.
2011-05-17 11:25:31 +02:00
Sebastian Dröge
8549dd352d
Revert "decodebin2: Update for GstQuery related API changes"
...
This reverts commit 549128c2a3
.
2011-05-17 11:24:18 +02:00
Sebastian Dröge
07617d50d3
videorate: Update for segment API changes
2011-05-16 17:14:08 +02:00
Sebastian Dröge
549128c2a3
decodebin2: Update for GstQuery related API changes
2011-05-16 17:13:14 +02:00
Sebastian Dröge
34849f0108
playsink: Update for other 0.11 API changes
2011-05-16 17:13:04 +02:00
Sebastian Dröge
01c798605a
playsink: Use correct number of parameters to gst_pad_get_caps()
2011-05-16 17:08:45 +02:00
Sebastian Dröge
d0362c2b87
Merge branch 'master' into 0.11
...
Conflicts:
configure.ac
ext/alsa/gstalsasrc.c
gst-libs/gst/audio/gstbaseaudiosink.c
gst-libs/gst/tag/gstxmptag.c
gst/playback/gstsubtitleoverlay.c
gst/videorate/gstvideorate.c
sys/xvimage/xvimagesink.c
2011-05-16 17:06:22 +02:00
Sebastian Dröge
e21ec369f0
videorate: Update for negotiation related API changes
2011-05-16 15:35:41 +02:00
Sebastian Dröge
7330318e2f
tcpclientsrc: Update for negotation related API changes
2011-05-16 15:35:41 +02:00
Sebastian Dröge
2b9845e60f
audioresample: Update for negotiation related API changes
2011-05-16 15:35:40 +02:00
Sebastian Dröge
616181901e
playback: Update for negotiation related API changes
2011-05-16 15:35:40 +02:00
Sebastian Dröge
a78bf729a9
ffmpegcolorspace: Update for negotiation related API changes
2011-05-16 15:35:40 +02:00
Sebastian Dröge
709b831a72
encodebin: Update for negotiation related API changes
2011-05-16 15:35:40 +02:00
Sebastian Dröge
c020add91e
audioconvert: Update for negotiation related API changes
2011-05-16 15:35:40 +02:00
Sebastian Dröge
48654cdacf
adder: Update for negotiation related API changes
2011-05-16 15:35:40 +02:00
Sebastian Dröge
219b610fdd
videotestsrc: Update for negotiation related API changes
2011-05-16 15:35:18 +02:00
Sebastian Dröge
0d39d5bb8f
videoscale: Update for negotiation related API changes
2011-05-16 15:35:17 +02:00
Sebastian Dröge
cc785bade6
videoscale: basetransform is now better at trying passthrough, remove workaround
2011-05-16 15:34:49 +02:00
Wim Taymans
94dfe80f71
-base: port to new SEGMENT API
2011-05-16 13:48:11 +02:00
Mark Nauwelaerts
eba4a948fb
videorate: optionally ensure maximum average output frame rate
...
See #628764 .
2011-05-16 12:46:00 +02:00
Alexey Fisher
1e09272024
videorate: optionally only drop frames to ensure maximum frame rate
...
This adds option to arrange for maximal allowed variable frame rate.
Fixes #628764 .
2011-05-16 12:45:47 +02:00
Mark Nauwelaerts
4ba6acdba5
uridecodebin: use bitrate to configure streaming buffer-duration default case
...
In particular, in audio only cases whose (estimated) metadata provides bitrate
information, the buffer-size based on such bitrate (and buffer-duration)
will be much more reasonable than queue2 default buffer-size.
2011-05-16 12:44:52 +02:00
Mark Nauwelaerts
8480b1ef1d
uridecodebin: remove some dead code
...
... which was dead as pads were never added to the list, and need not be added,
since removing them is handled by a pad callback.
2011-05-16 12:44:50 +02:00
Thiago Santos
fd486588ce
encodebin: Check for missing converters
...
Adds checks for missing video and audio converter elements
2011-05-15 13:02:39 -03:00
Andoni Morales Alastruey
dd36e4cd0e
decodebin2: fix preroll for streams at low bitrates
...
For streams at low bitrates we need to set a limit in time because the limit
in bytes might not reached too late, sometimes more than 30 seconds.
This limit can only be set if upstream is seekable (see #584104 )
Closes #647769
2011-05-14 11:42:33 +02:00
Sebastian Dröge
9337a293e1
playsink: Use new ghostpad/proxypad API to get the internal pad
2011-05-14 11:42:33 +02:00
Sebastian Dröge
9b6e1952a4
playsink: Use new ghostpad/proxypad API
2011-05-14 11:42:33 +02:00
Sebastian Dröge
2f8467d682
playsink: Add audio and video converter convenience bins
...
These reconfigure based on the caps and plugin in converters if
necessary. This also makes switching between compressed and raw
streams work flawlessly without loosing the states of any element
somewhere or having running time problems.
2011-05-14 11:42:32 +02:00
Sebastian Dröge
105da803ad
playbin2/playsink: Decide if A/V caps are raw only inside playsink
...
Before playbin2 would use different selectors for raw audio and
compressed audio (and the same for video) and used different
pads from playsink. This made the involved logic much more
complex and was not implemented completely in playsink, which
made it impossible to support files with a compressed and
uncompressed stream that is support by the sink.
playbin2 handles raw/non-raw streams the same now and the
decision is left to playsink, which now can also handle
caps changes from raw to non-raw and the other way around.
Fixes bug #632788 .
2011-05-14 11:42:32 +02:00
Sebastian Dröge
45bf51dcdf
subtitleoverlay: Use new, public ghostpad functions
2011-05-14 11:42:32 +02:00
Wim Taymans
c9f4e0676b
-base_port to new query API
2011-05-10 18:39:07 +02:00
Wim Taymans
7cad11e912
-base: fix for now request pad API
2011-05-10 16:44:37 +02:00
Wim Taymans
556afdef97
message: don't acces the structure directly
2011-05-10 13:35:49 +02:00
Wim Taymans
5dbc49ccf7
event: don't access the event structure
...
the event structure is now hidden, so don't access it directly.
2011-05-10 11:54:30 +02:00
Wim Taymans
bdb4676455
qos: _qos_full -> _qos
2011-05-09 18:53:03 +02:00
Wim Taymans
816f4e791d
segment: fix for new core API
...
Fix for gst_*_segment_full rename.
2011-05-09 18:16:46 +02:00
Wim Taymans
9d594f4242
audiorate: abs_rate is removed from segment structure
2011-05-09 16:42:34 +02:00
Wim Taymans
ec57868488
-base: don't use buffer caps
...
Port to newest 0.11 core API, remove GST_PAD_CAPS and GST_BUFFER_CAPS.
2011-05-09 13:05:12 +02:00
Wim Taymans
df54ba57a9
adder: fix getcaps function
...
Explicitely get the possible caps in the sinkpad instead of using an old removed
function.
2011-05-08 13:24:30 +02:00