Commit graph

3557 commits

Author SHA1 Message Date
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
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
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
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 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
Thomas Vander Stichele a82eb386af po/zh_CN.po: Added Chinese (simplified) translation.
Original commit message from CVS:
translated by: Funda Wang <fundawang@linux.net.cn>
* po/zh_CN.po:
Added Chinese (simplified) translation.
2007-09-22 17:52:56 +00:00
Thomas Vander Stichele dcaa63c898 po/bg.po: Added Bulgarian translation.
Original commit message from CVS:
translated by: Alexander Shopov <ash@contact.bg>
* po/bg.po:
Added Bulgarian translation.
2007-09-22 17:51:45 +00:00
Wim Taymans 9f04b80b90 gst/playback/gstqueue2.c: Fix compilation wrt printf arguments.
Original commit message from CVS:
* gst/playback/gstqueue2.c: (gst_queue_push_one):
Fix compilation wrt printf arguments.
2007-09-21 14:37:26 +00:00
Wim Taymans 476fbd3ddf Add simple snapshot example program using appsink.
Original commit message from CVS:
* configure.ac:
* tests/examples/Makefile.am:
* tests/examples/snapshot/.cvsignore:
* tests/examples/snapshot/Makefile.am:
* tests/examples/snapshot/snapshot.c: (main):
Add simple snapshot example program using appsink.
2007-09-20 14:09:24 +00:00
Stefan Kost 2ee06664ce tests/check/generic/states.c: Improved state change unit test.
Original commit message from CVS:
* tests/check/generic/states.c:
Improved state change unit test.
2007-09-20 10:37:02 +00:00
Stefan Kost ccd019c53b Ignore registries in any format.
Original commit message from CVS:
* docs/plugins/.cvsignore:
* tests/check/.cvsignore:
Ignore registries in any format.
2007-09-19 18:16:58 +00:00
Wim Taymans 2f0a269ddd gst-libs/gst/rtp/gstbasertpdepayload.c: Only copy timestamp on outgoing packets if the depayloader did not set one.
Original commit message from CVS:
* gst-libs/gst/rtp/gstbasertpdepayload.c:
(gst_base_rtp_depayload_chain),
(gst_base_rtp_depayload_set_gst_timestamp):
Only copy timestamp on outgoing packets if the depayloader did not set
one.
Also copy duration on outgoing packets.
2007-09-19 16:09:57 +00:00
Wim Taymans 70ad18deee gst-libs/gst/rtp/gstbasertppayload.c: Fix compilation because of missing %d in printf.
Original commit message from CVS:
* gst-libs/gst/rtp/gstbasertppayload.c: (copy_fixed),
(gst_basertppayload_set_outcaps):
Fix compilation because of missing %d in printf.
When fixating caps, fixate what we can and throw away all remaining
unfixed caps, subclasses should do something smart if they need to.
2007-09-19 15:55:08 +00:00
Stefan Kost 5452f33d1b ext/gnomevfs/gstgnomevfssrc.c: Improve debug logs a bit and be more verbose if things go wrong.
Original commit message from CVS:
* ext/gnomevfs/gstgnomevfssrc.c:
Improve debug logs a bit and be more verbose if things go wrong.
2007-09-19 12:04:21 +00:00
Jan Schmidt d5996e9c37 Fix a bunch of compile warnings shown with Forte.
Original commit message from CVS:
* ext/pango/gsttextoverlay.c: (gst_text_overlay_init),
(gst_text_overlay_set_property):
* ext/vorbis/vorbisdec.c: (vorbis_handle_data_packet):
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_render):
* gst-libs/gst/rtp/gstrtcpbuffer.c: (gst_rtcp_ntp_to_unix),
(gst_rtcp_unix_to_ntp):
* gst-libs/gst/rtsp/gstrtspmessage.c: (gst_rtsp_message_get_type):
* gst/playback/gstqueue2.c:
* tests/examples/seek/seek.c: (set_scale):
Fix a bunch of compile warnings shown with Forte.
* gst/audiorate/gstaudiorate.c:
Always pull in config.h before including any system headers.
2007-09-17 17:24:55 +00:00
Wim Taymans d133f1548e gst/playback/gstqueue2.c: Also fix #476514 for queue2.
Original commit message from CVS:
* gst/playback/gstqueue2.c: (update_buffering),
(gst_queue_locked_flush), (gst_queue_locked_enqueue),
(gst_queue_handle_sink_event), (gst_queue_chain),
(gst_queue_push_one), (gst_queue_sink_activate_push),
(gst_queue_src_activate_push), (gst_queue_src_activate_pull):
Also fix #476514 for queue2.
2007-09-17 16:22:17 +00:00
Wim Taymans 523fd097e6 gst-libs/gst/rtp/gstbasertpdepayload.c: Remove code to deal with RTP to GST time conversion, we now just copy the GST...
Original commit message from CVS:
* gst-libs/gst/rtp/gstbasertpdepayload.c:
(gst_base_rtp_depayload_init), (gst_base_rtp_depayload_setcaps),
(gst_base_rtp_depayload_chain),
(gst_base_rtp_depayload_handle_sink_event),
(gst_base_rtp_depayload_push_full),
(gst_base_rtp_depayload_set_gst_timestamp),
(gst_base_rtp_depayload_change_state):
Remove code to deal with RTP to GST time conversion, we now just copy
the GST timestamp we receive to the outgoing buffers.
Handle segment and flushes correctly.
* gst-libs/gst/rtp/gstbasertppayload.c: (gst_basertppayload_push):
When we have no valid input timestamp, use the previous rtp timestamp on
the outgoing RTP packet instead of the RTP base time.
2007-09-16 19:31:06 +00:00
David Schleef 1beb98e6dc ext/alsa/: Change alsa alloca's to malloc to fix warnings on gcc-4.2.
Original commit message from CVS:
* ext/alsa/gstalsa.c:
* ext/alsa/gstalsadeviceprobe.c:
* ext/alsa/gstalsamixer.c:
* ext/alsa/gstalsasink.c:
* ext/alsa/gstalsasrc.c:
Change alsa alloca's to malloc to fix warnings on gcc-4.2.
2007-09-16 01:56:21 +00:00
Wim Taymans 5dc2aebdee gst-libs/gst/rtp/gstbasertppayload.c: Add some debug info when negotiating caps.
Original commit message from CVS:
* gst-libs/gst/rtp/gstbasertppayload.c:
(gst_basertppayload_set_outcaps), (gst_basertppayload_push):
Add some debug info when negotiating caps.
2007-09-15 18:41:27 +00:00
Wim Taymans a884abc111 gst-libs/gst/rtp/gstrtpbuffer.c: A buffer with an empty payload is also a valid buffer.
Original commit message from CVS:
* gst-libs/gst/rtp/gstrtpbuffer.c: (gst_rtp_buffer_validate_data):
A buffer with an empty payload is also a valid buffer.
2007-09-15 00:29:11 +00:00
Wim Taymans 06ded6258e gst-libs/gst/rtp/gstbasertppayload.c: Make sure we start our RTP timestamp from the random base RTP timestamp even if...
Original commit message from CVS:
* gst-libs/gst/rtp/gstbasertppayload.c: (gst_basertppayload_event),
(gst_basertppayload_set_outcaps), (gst_basertppayload_push),
(gst_basertppayload_change_state):
Make sure we start our RTP timestamp from the random base RTP
timestamp even if the buffer timestamp starts from some random value.
2007-09-14 20:52:00 +00:00
Wim Taymans 7eb8a5d24a Add simple exmple app to demonstrate starting and pausing live and non-live bins in a PLAYING pipeline.
Original commit message from CVS:
* configure.ac:
* tests/examples/Makefile.am:
* tests/examples/dynamic/.cvsignore:
* tests/examples/dynamic/Makefile.am:
* tests/examples/dynamic/addstream.c: (create_stream),
(pause_play_stream), (message_received), (eos_message_received),
(perform_step), (main):
Add simple exmple app to demonstrate starting and pausing live and
non-live bins in a PLAYING pipeline.
2007-09-14 16:56:16 +00:00
Julien Moutte 87f2e70427 gst/typefind/gsttypefindfunctions.c: Add some typefind for QCP files (RFC #3625)
Original commit message from CVS:
2007-09-14  Julien MOUTTE  <julien@moutte.net>

* gst/typefind/gsttypefindfunctions.c: (plugin_init): Add some
typefind for QCP files (RFC #3625)
2007-09-14 10:42:00 +00:00
Wim Taymans 4764e6044f gst-libs/gst/audio/gstbaseaudiosink.c: Disable pull mode scheduling, we're not ready for it yet and it subtly breaks ...
Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_init):
Disable pull mode scheduling, we're not ready for it yet and it subtly
breaks a lot of things.
2007-09-13 22:52:09 +00:00
Tim-Philipp Müller 998c07972c tests/check/elements/libvisual.c: Test all libvisual plugins, not just the first one; this reproduces bug #450336 qui...
Original commit message from CVS:
* tests/check/elements/libvisual.c:
Test all libvisual plugins, not just the first one; this reproduces
bug #450336 quite easily.  Looks like a problem with the 'jess'
visualisation.
2007-09-12 17:35:52 +00:00