Tim-Philipp Müller
3c6a3ad629
Use new gst_element_class_set_static_metadata()
2012-04-10 00:45:16 +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
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
Sebastian Dröge
006f8f8275
gst: Update for gstmarshal.[ch] removal
2012-03-02 11:15:02 +01:00
Edward Hervey
59918e841f
Suppress deprecation warnings in selected files, for g_value_array_* mostly
2012-02-27 14:28:15 +01: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
Tim-Philipp Müller
26e612aeda
playback, mixerutils: gst_registry_get_default() -> gst_registry_get()
2012-01-02 14:32:11 +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
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
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
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
7402d3a3d2
update for _get_caps() -> _query_caps()
2011-11-15 18:04:17 +01:00
Wim Taymans
308f6301a8
update for pad probe api changes
2011-11-08 11:08:21 +01: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
7d9ccab8c6
uridecodebin: fix template name
2011-11-04 13:00:36 +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
bb65192151
ext,gst: update for query API changes
2011-07-27 01:16:53 +01: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
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
Wim Taymans
f565812e25
playback: changes for message API changes
2011-06-08 13:45:41 +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
318ed07598
Revert "-base_port to new query API"
...
This reverts commit c9f4e0676b
.
2011-05-17 11:25:31 +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
616181901e
playback: Update for negotiation related API changes
2011-05-16 15:35:40 +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
Wim Taymans
c9f4e0676b
-base_port to new query API
2011-05-10 18:39:07 +02:00
Wim Taymans
556afdef97
message: don't acces the structure directly
2011-05-10 13:35:49 +02:00
Sebastian Dröge
5bb005ad51
uridecodebin: Fix usage of gst_iterator_fold()
2011-05-05 18:29:13 +02:00
Sebastian Dröge
f10a8f0986
gst: Use G_DEFINE_TYPE instead of GST_BOILERPLATE
2011-04-19 11:35:53 +02:00
Tim-Philipp Müller
e8f5b3a579
uridecodebin: post proper error message if decodebin2/typefind elements are missing
...
Post better error messages in case typefind/decodebin2 are missing or
could not be loaded for some reason (e.g. because they inadvertently
got blacklisted).
https://bugzilla.gnome.org/show_bug.cgi?id=644892
2011-03-16 10:19:42 +00:00
Tim-Philipp Müller
c48c193b56
playbin2, uridecodebin: add "source-setup" signal
...
Add "source-setup" signal for convenience and discoverability. No need
to figure out "notify::source", look up the notify callback signature,
then do an g_object_get() to get the source element..
https://bugzilla.gnome.org/show_bug.cgi?id=626152
2011-02-24 16:53:01 +00:00
Sebastian Dröge
09750a0132
uridecodebin: Add default handler for autoplug-select
...
uridecodebin proxies this signal and only the first signal handler
will ever be called from decodebin2, which is uridecodebin's proxy
signal handler.
2011-02-18 12:06:30 +01:00
Sebastian Dröge
91122e4efc
uridecodebin: Return NULL from the default autoplug-sort handler
...
...instead of copying the array. Returning NULL will result
in the original factories array to be used and prevents a useless
array copy in most use cases.
2011-02-18 12:02:18 +01:00
Sebastian Dröge
da4b5bf9f9
uridecodebin: Update autoplug-* signal docs from decodebin2
...
uridecodebin proxies these signals.
2011-02-18 12:00:34 +01:00
tskd2@yahoo.co.jp
0641eabeb2
uridecodebin: expose "autoplug-sort" signal
...
It is a proxy of the decodebin2's one, and was missing
in the previous code.
See bug #642433 .
2011-02-18 11:17:11 +01:00
Mark Nauwelaerts
2c017d2a70
uridecodebin: fix copy-and-paste typo in property docs
2011-02-02 15:39:19 +01:00
Wim Taymans
1fb7c7e5dc
uridecodebin: also add https to buffer protocols
...
HTTPS also needs buffering.
2011-01-31 10:34:44 +01:00
Stefan Kost
7b312c5980
uridecodebin: disconnect signal handlers before disposing
2010-11-24 17:53:42 +02:00
Harri Mähönen
7c5e39664e
*decodebin*: don't leak pad templates set on ghostpads
...
https://bugzilla.gnome.org/show_bug.cgi?id=635067
2010-11-18 00:11:41 +00:00
Mark Nauwelaerts
9d0fefc617
uridecodebin: workaround internal decodebin2 failing state change
...
Fixes #632656 .
2010-10-21 19:07:24 +02:00
Stefan Kost
2a00fefd2a
*decodebin*: set pad-templates on ghostpads
...
This makes calling gst_pad_get_pad_template() work.
2010-10-13 23:30:55 +03:00
Stefan Kost
83c14483ed
various: add a missing G_PARAM_STATIC_STRINGS flag to object properties
2010-10-13 16:13:31 +03:00
Sebastian Dröge
491b7af1fa
uridecodebin: Set GST_ELEMENT_IS_SOURCE flag
...
uridecodebin behaves like a source, let's mark it as a source
2010-10-11 14:31:05 +02:00
Edward Hervey
9e0358930d
playback: Switch to gstfactorylist from core
...
https://bugzilla.gnome.org/show_bug.cgi?id=626181
2010-09-03 19:31:52 +02:00
Sebastian Dröge
c591b98864
uridecodebin: Only enable progressive downloading if the upstream duration in bytes is known
...
Otherwise we might try to enable it for live streams, where this would
cause playback to fail completely.
Fixes bug #628028 .
2010-08-27 20:45:19 +02:00
Edward Hervey
8b4bea5f6a
playback: Delay usage of GstFactoryList
...
By delaying it to when it's actually needed, we speed things up a bit
since some elements might have been added/removed in between.
https://bugzilla.gnome.org/show_bug.cgi?id=626718
2010-08-13 17:00:05 +02:00
Robert Swain
268270d35e
playbin2: uridecodebin: add property to configure ring buffer size
2010-08-13 16:48:22 +02:00
Sebastian Dröge
dc110b3b37
uridecodebin: Allow video/webm for progressive downloading
2010-06-12 16:16:37 +02:00
Edward Hervey
20d643ccda
uridecodebin: add the 'expose-all-streams' property from decodebin2
...
API: expose-all-streams
https://bugzilla.gnome.org/show_bug.cgi?id=617868
2010-05-07 17:38:45 +02:00
Wim Taymans
f99cb8b9bd
uridecodebin: add all qtdemux types to downloadable types
...
Add all the media types that qtdemux can handle to the list of downloadable
types.
2010-05-04 17:54:01 +02:00
Wim Taymans
133f804d2d
uridecodebin: we can handle avi in download mode too
...
Add avi to the whitelisted types that can be used for download buffering.
2010-03-26 18:24:58 +01:00
Benjamin Otte
3bd4aa26ff
Add -Wwrite-strings to configure
...
Fixes for the code included
2010-03-16 17:41:51 +01:00
Benjamin Otte
5e21fa5e0e
gst_element_class_set_details => gst_element_class_set_details_simple
...
Also change my email from the old university one to the current one.
2010-03-16 17:41:50 +01:00
Benjamin Otte
43b1683421
Add -Wmissing-declarations -Wmissing-prototypes to warning flags
...
Includes all the fixes necessary to make stuff compile again.
2010-03-11 13:50:31 +01:00
Tim-Philipp Müller
3be20d7a5e
uridecodebin: use same message string for missing elements as in playbin
...
Use the same translated message string for missing core elements as
playbin uses, which is a bit nicer and also indicates that there is
something wrong with the user's GStreamer installation (which arguably
is the case if elements like typefind or queue2 are missing).
2010-02-16 10:09:54 +00:00
Sebastian Dröge
9677ca5037
uridecodebin: Missing decoder errors should be STREAM CODEC_NOT_FOUND
...
and not CORE MISSING_PLUGIN.
2010-02-15 08:20:41 +01:00
Sebastian Dröge
9716d51755
uridecodebin: Post missing plugin messages if a required element can't be created
...
Especially if no suitable URI source can be found.
2010-02-15 08:06:44 +01:00
Wim Taymans
3ae58733a5
uridecodebin: avoid some typecasts
2010-02-12 12:31:49 +01:00
Wim Taymans
fd755182b1
uridecodebin: clean up decodebin properties
...
When reusing a decodebin2 element, clear the properties we might have changed,
to their default values or else we might end up with old configuration.
Fixes #608484
2010-02-01 15:00:18 +01:00
Wim Taymans
12af633942
uridecodebin: handle raw sources about-to-finish signals
...
When we are dealing with a source that produces raw audio/video, we don't use a
decodebin2 to decode the data and we thus don't have the drained/about-to-finish
signal emited. To fix this, we add a padprobe on the source pads and emit the
drained signal ourselves. This then makes playbin2 emit the about-to-finish
signal for raw sources such as cdda://
Fixes #607116
2010-01-22 16:36:46 +01:00
Wim Taymans
d4e1ff012d
uridecodebin: avoid leaking queue and typefind
...
Don't leak the queue and typefind elements that we might link after the
source element.
2009-12-23 15:46:25 +01:00
Jonathan Matthew
138c851173
uridecodebin: don't name the queue
...
There is no reason to name the queue.
Fixes #605219
2009-12-23 15:43:52 +01:00
Sebastian Dröge
1da5a3f7d3
playback: Update factories list on every access if the registry has changed
...
This makes application's simpler because the element doesn't need to
go to NULL first to make use of newly installed plugins.
Fixes bug #601480 .
2009-11-11 14:00:26 +01:00
Sebastian Dröge
ab96265c57
playback: When going from NULL->READY check if the registry has new features
...
This makes it possible to use newly installed plugins after going back
to NULL instead of requiring a new instance.
Fixes bug #599266 .
2009-11-10 18:30:46 +01:00
Sebastian Dröge
97519751ad
uridecodebin: Improve all-raw-caps detection for pads
2009-11-06 12:37:03 +01:00
Stefan Kost
a78c8bf3ed
pad: rename new api from _refed to _reffed.
...
Due to popular demand rename the new api as we still can.
2009-11-05 13:00:27 +02:00
Wim Taymans
fcb283b78b
playbin2: avoid copying caps
...
Use get_caps_refed() when we can.
2009-11-04 18:57:07 +01:00
Wim Taymans
eb92aa282f
uridecodebin: use faster element_link_pads
...
Use the faster gst_element_link_pads because we know for sure the sinkpad name
and we don't need to have the function search for a suitable pad anymore.
2009-11-04 17:50:11 +01:00
Sebastian Dröge
dd55311f3b
uridecodebin: Initialize caps property with the default raw caps
2009-11-03 13:03:26 +01:00
Wim Taymans
7ab778199e
uridecodebin: don't use 2 buffering elements
...
Only use the multiqueue buffering when we don't have a stream (and thus are
using queue2 to do the buffering already).
2009-10-24 16:10:00 -04:00
Wim Taymans
26290f44d6
uridecodebin: buffering is implemented now
2009-10-24 16:09:59 -04:00
Wim Taymans
d5add83976
uridecodebin: use 0 for max buffer size
2009-10-24 16:09:59 -04:00
Wim Taymans
1fa7f049f1
uridecodebin: set some reasonable defaults
2009-10-24 16:09:59 -04:00
Wim Taymans
3883fac8d8
uridecodebin: set buffering properties on decodebin2
...
Propagate the buffering properties on decodebin2 but only if we are not already
doing download buffering.
2009-10-24 16:09:59 -04:00
Wim Taymans
adba87539f
uridecodebin: add use-buffering property
...
Add a use-buffering property that will perform buffering on the parsed or
demuxed media.
2009-10-24 16:07:36 -04:00
Edward Hervey
80b37c614a
uridecodebin: Store unused decodebin2 instances for further usage.
...
This allows faster re-use of uridecodebin.
https://bugzilla.gnome.org/show_bug.cgi?id=599471
2009-10-24 11:48:33 +02:00
Sebastian Dröge
674e2309ac
uridecodebin: Don't post missing plugin messages twice
...
decodebin2 already posts them after emitting the unknown-type signal,
there's no need to post another one.
2009-10-07 17:46:29 +02:00
Stefan Kost
7a3797f332
docs: tell a biit more about uri-decodebin and buffering
2009-09-10 10:30:23 +03:00
Wim Taymans
9e83339cf6
uridecodebin: do buffering for more uris
...
Add ssh://, ftp://, sftp://, myth:// to the list of uris that require
buffering.
Fixes #594020
2009-09-04 11:33:04 +02:00
Sebastian Dröge
6aa731cb48
uridecodebin: Make missing plugins emit a warning message, not an error message
...
The problem with an error message is, that it will stop playback completely
while it could be that only a audio decoder plugin is missing and the video
could be played with the available plugins.
See bug #591677 .
2009-08-18 08:20:28 +02:00
Sebastian Dröge
a6b1e0b645
uridecodebin: Post a correct error message for unknown types
...
Before we had STREAM/WRONG_TYPE but it's really CORE/MISSING_PLUGIN
because a plugin is missing and nothing else is wrong.
Also make it an error instead of a warning.
Really fixes bug #591677 .
2009-08-13 17:42:07 +02:00
Sebastian Dröge
504f8dc9c7
uridecodebin: Post a missing plugin message additional to the error message on unknown types
...
Fixes bug #591677 .
2009-08-13 15:55:25 +02:00
Stefan Kost
31b0c658e5
uridecodebin: treat uri-schemas incasesensitive
...
Treat uri-schemas incasesensitive. This is mandated in rfc2396 section 3.1.
Fixes not showing buffering messages e.g. for HTTP://...
2009-07-13 21:56:46 +03:00
Wim Taymans
bede11dbc3
uridecodebin: Fix template construction
...
Fix the construction of the temporary filename construction as the application
name can be NULL and we don't want a separator between the prgname and the
template.
2009-07-10 20:26:22 +01:00
Wim Taymans
f4d78328dd
uridecodebin: add download property
...
Add a download property that will attempt to configure queue2 into progressive
download buffering.
Make sure we only enable download buffering for quicktime and flv formats.
2009-07-10 20:26:22 +01:00
Wim Taymans
e8598d24e5
uridecodebin: make fd:// uri use buffering too
...
fd:// usually operate in push mode only and are thus suitable for buffering.
2009-06-30 18:44:44 +02:00
Tim-Philipp Müller
5974042bba
uridecodebin: fix leak when the source fails to change state
2009-06-23 15:12:50 +01:00
Wim Taymans
7a82caebd2
uridecodebin: add debug message
2009-06-16 18:20:05 +02:00
Jan Schmidt
79e97ec5ec
playbin2/uridecodebin: Fix connection-speed propagation
...
uridecodebin expects the passed connection-speed value in kbps, so we
need to divide the value stored in bps by 1000. Also, lower the upper
limit on the properties to the value that we can actually store in our
internal guint (which is plenty high enough)
2009-06-10 17:05:18 +01:00
Jan Schmidt
47d7464b10
decodebin/uridecodebin: Recognise subpicture/x-pgs pads and output them.
2009-05-28 22:07:30 +01:00
Wim Taymans
7d049bc29f
uridecodebin: configure caps on decodebin2
...
Implement the caps property by setting the configured caps on new decodebin2
objects.
Fixes #582749
2009-05-19 15:35:54 +02:00
Wim Taymans
8f2f705c21
uridecodebin: fix potential caps leak
...
Free the user-configured caps in finalize.
2009-05-19 15:27:12 +02:00
Wim Taymans
f11edb626f
uridecodebin: add queue after cdda://
...
Add a queue2 after the raw output pads of certain sources such as those for uris
like cdda://
No tuning of the queue is done yet as the defaults seem to work fine for me.
Fixes #582528
2009-05-19 15:20:27 +02:00