Commit graph

5544 commits

Author SHA1 Message Date
Tim-Philipp Müller
af68c73c6c tests/check/libs/tag.c: GST_TAG_MUSICBRAINZ_SORTNAME is deprecated and we compile with
Original commit message from CVS:
* tests/check/libs/tag.c: (test_musicbrainz_tag_registration):
GST_TAG_MUSICBRAINZ_SORTNAME is deprecated and we compile with
-DGST_DISABLE_DEPRECATED, so use new GST_TAG_ARTIST_SORTNAME
instead.
2007-10-26 18:57:33 +00:00
Christian Schaller
70bf4bd0c8 update spec file
Original commit message from CVS:
update spec file
2007-10-26 12:07:14 +00:00
Wim Taymans
8c20347774 gst/playback/gstdecodebin2.c: Move subtitle encoding property to decodebin2 so that it can set the property value on ...
Original commit message from CVS:
* gst/playback/gstdecodebin2.c: (gst_decode_bin_class_init),
(gst_decode_bin_dispose), (gst_decode_bin_set_caps),
(gst_decode_bin_set_subs_encoding),
(gst_decode_bin_get_subs_encoding), (gst_decode_bin_set_property),
(gst_decode_bin_get_property), (analyze_new_pad):
Move subtitle encoding property to decodebin2 so that it can set the
property value on all elements that it autoplugs and that require it.
Make caps refcounting more consistent in get/set.
* gst/playback/gsturidecodebin.c: (_gst_boolean_accumulator),
(gst_uri_decode_bin_class_init), (gst_uri_decode_bin_init),
(gst_uri_decode_bin_finalize), (gst_uri_decode_bin_set_property),
(gst_uri_decode_bin_get_property), (proxy_unknown_type_signal),
(proxy_autoplug_continue_signal),
(proxy_autoplug_factories_signal), (proxy_autoplug_select_signal),
(make_decoder):
Proxy properties and relevant signals from the internal decodebin.
Make properties MT safe.
2007-10-25 17:36:49 +00:00
Tim-Philipp Müller
698e4050b3 gst-libs/gst/tag/: Deprecate GST_TAG_MUSICBRAINZ_SORTNAME, replaced by the newly-added
Original commit message from CVS:
* gst-libs/gst/tag/tag.h: (GST_TAG_MUSICBRAINZ_SORTNAME):
* gst-libs/gst/tag/tags.c:
Deprecate GST_TAG_MUSICBRAINZ_SORTNAME, replaced by the newly-added
GST_TAG_ARTIST_SORTNAME (in an API and ABI compatible way).
* gst-libs/gst/tag/gstid3tag.c: (tag_matches):
Map ID3v2 TSOP, TSOA and TSOT frames to new SORTNAME tags (#414539).
* gst-libs/gst/tag/gstvorbistag.c: (tag_matches),
(gst_tag_to_vorbis_comments):
Map new SORTNAME tags (these tags aren't even semi-official, so I'm
just mapping everything I found in the wild) (#414539).
2007-10-25 15:10:59 +00:00
Wim Taymans
77cef56895 gst/playback/: Remove the autoplug-sort signal and replace it with a binding friendly autoplug-select signal.
Original commit message from CVS:
Inspired by patch of: René Stadler <mail at renestadler dot de>
* gst/playback/gstdecodebin2.c: (gst_decode_bin_class_init),
(gst_decode_bin_autoplug_continue),
(gst_decode_bin_autoplug_factories),
(gst_decode_bin_autoplug_select), (analyze_new_pad), (connect_pad),
(find_compatibles):
* gst/playback/gstplay-marshal.list:
Remove the autoplug-sort signal and replace it with a binding friendly
autoplug-select signal.
Add an autoplug-factories signal that can be used to generate a list of
factories to try to autoplug.
Add the GstPad to the autoplugging signal args as it might be needed to
make a good factory selection.
Fix up the marshallers for this. Fixes #407282.
2007-10-24 11:07:57 +00:00
Tim-Philipp Müller
d33e6ca818 gst-libs/gst/tag/gsttagdemux.c: Don't abort with an assertion if we receive a seek event with a start type of NONE (s...
Original commit message from CVS:
* gst-libs/gst/tag/gsttagdemux.c:
Don't abort with an assertion if we receive a seek event with
a start type of NONE (see launchpad bug #155878).
2007-10-23 14:23:14 +00:00
Wim Taymans
d3f29fa6e1 sys/: Make sure that before we clean up the X resources, we shutdown and join the event thread.
Original commit message from CVS:
* sys/ximage/ximagesink.c: (gst_ximagesink_event_thread),
(gst_ximagesink_xcontext_get), (gst_ximagesink_xcontext_clear),
(gst_ximagesink_change_state), (gst_ximagesink_reset):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_event_thread),
(gst_xvimagesink_xcontext_get), (gst_xvimagesink_xcontext_clear),
(gst_xvimagesink_change_state), (gst_xvimagesink_reset):
Make sure that before we clean up the X resources, we shutdown and join
the event thread.
Also make sure the event thread does not shut down immediatly after
startup because the running variable is not yet correctly set.
Fixes #378770.
2007-10-22 10:21:46 +00:00
Wim Taymans
d33d2be0ed gst/playback/gstdecodebin.c: Make the window for a race in typefind and shutting down smaller until we figure out the...
Original commit message from CVS:
* gst/playback/gstdecodebin.c: (new_pad), (type_found):
Make the window for a race in typefind and shutting down smaller until
we figure out the right locking here. Avoids #485753 usually.
* gst/playback/gstdecodebin2.c: (type_found), (pad_added_group_cb):
Remove unneeded lock causing a race in typefind and shutting down.
Fixes #485753.
* gst/playback/gstplaybin.c: (gst_play_bin_change_state):
Also remove sinks when going to NULL because we might not complete the
state change to PAUSED, causing the PAUSED->READY state change not to
happen.
2007-10-16 16:48:38 +00:00
Wim Taymans
6a20747e83 gst-libs/gst/audio/gstbaseaudiosink.c: Also explicitly release the ringbuffer when going to NULL because it is requir...
Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_drain), (gst_base_audio_sink_change_state):
Also explicitly release the ringbuffer when going to NULL because it
is required in the setcaps function, before the state change to PAUSED
completes.
2007-10-16 15:33:31 +00:00
Tim-Philipp Müller
b7d729d39a tests/icles/: Does what it says on the tin.
Original commit message from CVS:
* tests/icles/.cvsignore:
* tests/icles/Makefile.am:
* tests/icles/stress-playbin.c:
Does what it says on the tin.
2007-10-16 14:58:53 +00:00
Wim Taymans
b6a80a4e42 gst/playback/gstqueue2.c: Fix queue negotiation. See #486758.
Original commit message from CVS:
* gst/playback/gstqueue2.c: (gst_queue_init), (gst_queue_push_one):
Fix queue negotiation. See #486758.
2007-10-15 11:38:39 +00:00
Jan Schmidt
8ab5292f13 Actual code change to go along with:
Original commit message from CVS:
Actual code change to go along with:

2007-10-12  Jan Schmidt  <Jan.Schmidt@sun.com>

* sys/xvimage/xvimagesink.c: (gst_xvimagesink_xwindow_decorate),
(gst_xvimagesink_xwindow_new),
(gst_xvimagesink_update_colorbalance),
(gst_xvimagesink_handle_xevents), (gst_xvimagesink_xcontext_get):

Fix handling of some of the X atoms. If the last parameter is True,
XInternAtom won't create the atom if it doesn't exist, and therefore
might return None. This causes X errors on Xv implementations that
don't provide the colour balance attributes.
2007-10-12 10:52:18 +00:00
Jan Schmidt
efb9c3be09 Remove stray character from the changelog.
Original commit message from CVS:
Remove stray character from the changelog.
2007-10-12 10:37:09 +00:00
Jan Schmidt
ce49353432 I'm too lazy to comment this
Original commit message from CVS:
*** empty log message ***
2007-10-12 10:33:27 +00:00
Tim-Philipp Müller
689ca135f3 Extract vorbis comment LICENSE tags correctly.
Original commit message from CVS:
* gst-libs/gst/tag/gstvorbistag.c:
* tests/check/libs/tag.c:
Extract vorbis comment LICENSE tags correctly.
2007-10-11 18:24:09 +00:00
Jason Kivlighn
054e43aa3c Map ID3v2 WCOP frame to GST_TAG_COPYRIGHT_URI (#447000).
Original commit message from CVS:
Patch by: Jason Kivlighn  <jkivlighn gmail com>
* gst-libs/gst/tag/gstid3tag.c:
* tests/check/libs/tag.c:
Map ID3v2 WCOP frame to GST_TAG_COPYRIGHT_URI (#447000).
2007-10-11 16:12:21 +00:00
Tim-Philipp Müller
8458a74526 gst-libs/gst/tag/gsttagdemux.c: Don't error out when a buggy downstream element doesn't handle the newsegment event w...
Original commit message from CVS:
* gst-libs/gst/tag/gsttagdemux.c:
Don't error out when a buggy downstream element doesn't
handle the newsegment event we send properly (especially
not without posting a meaningful error message on the
bus). See bug #471370 and launchpad bug #136264.
2007-10-10 17:01:51 +00:00
Wim Taymans
02f280a9a0 gst-libs/gst/audio/gstbaseaudiosink.c: Use new basesink method to make our EOS drain interruptable.
Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_drain):
Use new basesink method to make our EOS drain interruptable.
2007-10-10 15:36:56 +00:00
Jan Schmidt
c96877779a gst-libs/gst/rtp/gstrtppayloads.c: Fix silly search-replace oversight.
Original commit message from CVS:
* gst-libs/gst/rtp/gstrtppayloads.c:
Fix silly search-replace oversight.
2007-10-10 09:37:09 +00:00
Laurent Glayal
0f3c871859 gst-libs/gst/rtp/gstbasertppayload.c: Fix caps memleak. Fixes #484989.
Original commit message from CVS:
Patch by: Laurent Glayal <spglegle at yahoo dot fr>
* gst-libs/gst/rtp/gstbasertppayload.c: (copy_fixed),
(gst_basertppayload_set_outcaps):
Fix caps memleak. Fixes #484989.
2007-10-09 09:57:17 +00:00
Wim Taymans
4f707e2172 gst-libs/gst/rtp/gstbasertpdepayload.c: Fix debug output.
Original commit message from CVS:
* gst-libs/gst/rtp/gstbasertpdepayload.c:
(gst_base_rtp_depayload_setcaps), (gst_base_rtp_depayload_chain):
Fix debug output.
2007-10-08 18:04:34 +00:00
Wim Taymans
c3dda05a8b gst-libs/gst/audio/gstbaseaudiosrc.c: Also handle the case where there is no clock set on the audio source, like in t...
Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosrc.c:
(gst_base_audio_src_create):
Also handle the case where there is no clock set on the audio source,
like in the unit tests.
2007-10-08 18:02:53 +00:00
Jan Schmidt
41ae026041 gst-libs/gst/rtp/gstrtppayloads.c: Use unsigned G_MAXUINT8 instead of -1 to initialise a guint8 to avoid compiler war...
Original commit message from CVS:
* gst-libs/gst/rtp/gstrtppayloads.c:
Use unsigned G_MAXUINT8 instead of -1 to initialise a guint8
to avoid compiler warnings
2007-10-08 17:40:17 +00:00
Wim Taymans
d0897a3528 gst/playback/: Don't disconnect the have_type signal because we never reconnect it later on. Instead keep a variable ...
Original commit message from CVS:
* gst/playback/gstdecodebin.c: (type_found),
(gst_decode_bin_change_state):
* gst/playback/gstdecodebin2.c: (type_found),
(gst_decode_bin_change_state):
Don't disconnect the have_type signal because we never reconnect it
later on. Instead keep a variable to see if we already detected a type.
2007-10-08 17:12:32 +00:00
Wim Taymans
ecb6c19729 gst/playback/: Unlink the signal handler when we found the type, we're not going to do anything sensible with more ty...
Original commit message from CVS:
* gst/playback/gstdecodebin.c: (add_fakesink), (type_found):
* gst/playback/gstdecodebin2.c: (gst_decode_bin_init),
(type_found):
Unlink the signal handler when we found the type, we're not going to do
anything sensible with more type_found signals anyway.
2007-10-08 10:47:26 +00:00
Sebastian Dröge
aa2e910ca1 ext/gio/gstgio.c: Use GIO function to get a list of supported URI schemes instead of hard coding something.
Original commit message from CVS:
* ext/gio/gstgio.c: (gst_gio_get_supported_protocols):
Use GIO function to get a list of supported URI schemes instead of
hard coding something.
2007-10-08 06:07:22 +00:00
Tim-Philipp Müller
d3648ca534 gst-libs/gst/tag/gsttagdemux.c: Don't leak caps.
Original commit message from CVS:
* gst-libs/gst/tag/gsttagdemux.c:
Don't leak caps.
2007-10-06 16:49:55 +00:00
Tim-Philipp Müller
f277cd8801 gst-libs/gst/tag/: API: add GstTagDemux base class for simple tag demuxers.
Original commit message from CVS:
* gst-libs/gst/tag/Makefile.am:
* gst-libs/gst/tag/gsttagdemux.c:
* gst-libs/gst/tag/gsttagdemux.h:
API: add GstTagDemux base class for simple tag demuxers.
* docs/libs/gst-plugins-base-libs-docs.sgml:
* docs/libs/gst-plugins-base-libs-sections.txt:
Add GstTagDemux to docs.
2007-10-06 15:04:53 +00:00
Sebastian Dröge
6e51063659 gst-libs/gst/rtp/gstrtpbuffer.c: Fix bug introduced with last commit which inverted the logic and caused all buffers ...
Original commit message from CVS:
* gst-libs/gst/rtp/gstrtpbuffer.c:
(gst_rtp_buffer_get_payload_subbuffer):
Fix bug introduced with last commit which inverted the logic and
caused all buffers to be dropped. Fixes #483620.
Thanks to Laurent Glayal <spglegle at yahoo dot fr> for noticing.
2007-10-05 07:49:25 +00:00
Stefan Kost
ff01787e4e gst-libs/gst/rtp/gstrtpbuffer.c: with regular return and warning.
Original commit message from CVS:
* gst-libs/gst/rtp/gstrtpbuffer.c:
Replace g_return_if_val (as it could be disabled), with regular return
and warning.
2007-10-04 06:50:53 +00:00
Stefan Kost
fb05ac73ed tests/check/pipelines/simple-launch-lines.c: Print message name and not just number.
Original commit message from CVS:
* tests/check/pipelines/simple-launch-lines.c:
Print message name and not just number.
2007-10-03 14:51:59 +00:00
Wim Taymans
5ba1ed3a21 gst-libs/gst/audio/gstbaseaudiosink.c: When slaved to the clock, don't try to align a sample with the previous one wh...
Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_async_play):
When slaved to the clock, don't try to align a sample with the previous
one when going to PLAYING again.
2007-10-02 11:11:13 +00:00
Stefan Kost
8bef6238c3 tests/examples/snapshot/snapshot.c: Fix the build.
Original commit message from CVS:
* tests/examples/snapshot/snapshot.c:
Fix the build.
2007-10-02 09:04:03 +00:00
Sebastian Dröge
d89fc173d6 ext/gio/gstgiosink.c: Update to API changes in GIO.
Original commit message from CVS:
* ext/gio/gstgiosink.c: (gst_gio_sink_start):
Update to API changes in GIO.
2007-10-02 07:43:57 +00:00
Wim Taymans
767366a1e1 gst-libs/gst/sdp/gstsdpmessage.h: Add RFC 3556 bandwidth modifiers.
Original commit message from CVS:
* gst-libs/gst/sdp/gstsdpmessage.h:
Add RFC 3556 bandwidth modifiers.
2007-10-01 16:33:00 +00:00
Wim Taymans
d874f65f6e Update documentation.
Original commit message from CVS:
* docs/libs/gst-plugins-base-libs-docs.sgml:
* docs/libs/gst-plugins-base-libs-sections.txt:
* gst-libs/gst/rtp/gstrtppayloads.c:
Update documentation.
2007-10-01 13:37:31 +00:00
Wim Taymans
7cdfb6d154 gst-libs/gst/rtp/: Added new file and header to deal with payload info.
Original commit message from CVS:
* gst-libs/gst/rtp/Makefile.am:
* gst-libs/gst/rtp/gstrtppayloads.c: (gst_rtp_payload_info_for_pt),
(gst_rtp_payload_info_for_name):
* gst-libs/gst/rtp/gstrtppayloads.h:
Added new file and header to deal with payload info.
* gst-libs/gst/rtp/gstrtpbuffer.c: (gst_rtp_buffer_validate_data),
(gst_rtp_buffer_default_clock_rate):
* gst-libs/gst/rtp/gstrtpbuffer.h:
Payload specific stuff is move to new headers.
Implement _default_clock rate using the new payload function.
* gst-libs/gst/sdp/gstsdpmessage.c: (is_multicast_address),
(gst_sdp_parse_line):
* gst-libs/gst/sdp/gstsdpmessage.h:
Add some more comments.
2007-10-01 13:22:14 +00:00
Wim Taymans
818434b664 gst/typefind/gsttypefindfunctions.c: Add typefind function for application/sdp.
Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (utf8_type_find),
(sdp_check_header), (sdp_type_find), (plugin_init):
Add typefind function for application/sdp.
Remove some old dirac typefind code that was ifdeffed out.
2007-10-01 10:22:46 +00:00
Sébastien Moutte
500d8290a4 win32/common/libgstaudio.def: Add new exported functions.
Original commit message from CVS:
* win32/common/libgstaudio.def:
Add new exported functions.
* win32/vs6/grammar.dsp:
Add autogeneration and copy of some autegenerated files from win32/common
for rtsp library.
* win32/vs6/libgstaudioconvert.dsp:
Add gstaudioquantize.c to the build.
* win32/vs6/libgstinterfaces.dsp:
Add videoorientation.c to the build.
* win32/vs6/libgstriff.dsp:
Add libgsttag to the link libraries list.
* win32/vs6/libgstvolume.dsp:
Add liboil to the link.
* win32/vs6/gst_plugins_base.dsw:
* win32/vs6/libgstrtsp.dsp:
* win32/common/libgstrtsp.def:
Add files to build libgstrtsp library.
2007-09-29 12:04:02 +00:00
Sebastian Dröge
d4e3e0e75f ext/gio/: Some minor cleanup and allow setting the location only when the element is not playing or paused.
Original commit message from CVS:
* ext/gio/gstgiosink.c: (gst_gio_sink_base_init),
(gst_gio_sink_set_property), (gst_gio_sink_render):
* ext/gio/gstgiosrc.c: (gst_gio_src_base_init),
(gst_gio_src_set_property):
Some minor cleanup and allow setting the location only when the
element is not playing or paused.
2007-09-29 07:01:55 +00:00
Wim Taymans
724efdb95d tests/examples/snapshot/snapshot.c: Print error when pipeline failed to construct.
Original commit message from CVS:
* tests/examples/snapshot/snapshot.c: (main):
Print error when pipeline failed to construct.
2007-09-26 15:14:37 +00:00
Tim-Philipp Müller
3263d790f9 Add mappings for the new GST_TAG_COMPOSER for vorbis comments and ID3v2 tags.
Original commit message from CVS:
* configure.ac:
* gst-libs/gst/tag/gstid3tag.c:
* gst-libs/gst/tag/gstvorbistag.c:
Add mappings for the new GST_TAG_COMPOSER for vorbis comments
and ID3v2 tags.
2007-09-25 19:06:47 +00:00
Tim-Philipp Müller
3f7d77fc29 gst-libs/gst/floatcast/floatcast.h: Don't include config.h in an installed public header, this might break compilatio...
Original commit message from CVS:
* gst-libs/gst/floatcast/floatcast.h:
Don't include config.h in an installed public header, this
might break compilation of applications that don't have such
a header and doesn't necessarily do what it's supposed to do
anyway (ie. check for the lrint/lrintf defines) (#442065).
Add docs for the various macros and document how this header
has to be used (link against libm, etc.); add a few FIXMEs;
include math.h for non-c99 code path.  Based on patch by
Jan Schmidt.
2007-09-25 11:54:09 +00:00
Sebastian Dröge
61988a4b0c configure.ac: Use AG_GST_ARG_WITH_PLUGINS and AG_GST_ARG_ENABLE_EXTERNAL instead of duplicating these macros in confi...
Original commit message from CVS:
* configure.ac:
Use AG_GST_ARG_WITH_PLUGINS and AG_GST_ARG_ENABLE_EXTERNAL instead
of duplicating these macros in configure.ac.
2007-09-25 07:50:59 +00:00
Thomas Vander Stichele
c550a25a34 po/: Updated translations to 0.10.14
Original commit message from CVS:
* po/hu.po:
* po/sv.po:
* po/uk.po:
Updated translations to 0.10.14
2007-09-22 17:58:22 +00:00
Thomas Vander Stichele
b722a27cf3 add languages
Original commit message from CVS:
add languages
2007-09-22 17:57:08 +00:00
Thomas Vander Stichele
6d6b6b5762 po/pl.po: Added Polish translation.
Original commit message from CVS:
translated by: Jakub Bogusz <qboosh@pld-linux.org>
* po/pl.po:
Added Polish translation.
2007-09-22 17:56:28 +00:00
Thomas Vander Stichele
1f92c12b3e po/fi.po: Added Finnish translation.
Original commit message from CVS:
translated by: Ilkka Tuohela <hile@iki.fi>
* po/fi.po:
Added Finnish translation.
2007-09-22 17:55:37 +00:00
Thomas Vander Stichele
6bd5f909a1 po/es.po: Added Spanish translation.
Original commit message from CVS:
translated by: Jorge González González <aloriel@gmail.com>
* po/es.po:
Added Spanish translation.
2007-09-22 17:54:50 +00:00
Thomas Vander Stichele
53045d6936 po/da.po: Added Danish translation.
Original commit message from CVS:
translated by: Mogens Jaeger <mogens@jaeger.tf>
* po/da.po:
Added Danish translation.
2007-09-22 17:53:59 +00:00