Commit graph

4047 commits

Author SHA1 Message Date
Sebastian Dröge e4a3ac2c8c tests/examples/seek/Makefile.am: Fix out of tree build by adding all required CFLAGS.
Original commit message from CVS:
* tests/examples/seek/Makefile.am:
Fix out of tree build by adding all required CFLAGS.
2008-07-07 17:25:41 +00:00
Sebastian Dröge b02dc1bf6a gst/playback/gstdecodebin.c: And ref the pad before returning it again when linking to the queue failed. Otherwise we...
Original commit message from CVS:
* gst/playback/gstdecodebin.c: (add_raw_queue):
And ref the pad before returning it again when linking to the queue
failed. Otherwise we will unref the pad twice later and things break.
2008-07-07 09:55:41 +00:00
Sebastian Dröge ba9c438f98 gst/playback/gstdecodebin.c: If linking the raw pad with a queue fails, try it without a queue instead of failing com...
Original commit message from CVS:
* gst/playback/gstdecodebin.c: (add_raw_queue):
If linking the raw pad with a queue fails, try it without a queue
instead of failing completely. This should never happen.
2008-07-07 09:48:45 +00:00
Evgeniy Stepanov bddd224b36 gst/playback/gstdecodebin.c: Add a queue after a demuxer if the demuxer outputs raw data. This was done before only f...
Original commit message from CVS:
Patch by: Evgeniy Stepanov <eugeni dot stepanov at gmail dot com>
* gst/playback/gstdecodebin.c: (add_raw_queue), (close_pad_link):
Add a queue after a demuxer if the demuxer outputs raw data. This was
done before only for non-raw data but is required in this case too.
Fixes bug #540215.
decodebin2 doesn't have this issue because all streams of a group
go through multiqueue.
2008-07-06 23:22:12 +00:00
Damien Lespiau c3e1de9033 gst-libs/gst/sdp/gstsdpmessage.c: Makes libgstsdp compile with mingw32 by defining the right WINVER so that getaddrin...
Original commit message from CVS:
Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
* gst-libs/gst/sdp/gstsdpmessage.c:
Makes libgstsdp compile with mingw32 by defining the right WINVER so
that getaddrinfo() can be used. Fixes #541358.
2008-07-03 09:12:49 +00:00
Wim Taymans 3fb8f3b0dd gst/videotestsrc/gstvideotestsrc.*: Cleanups, use default property values as defines.
Original commit message from CVS:
* gst/videotestsrc/gstvideotestsrc.c:
(gst_video_test_src_class_init), (gst_video_test_src_init),
(gst_video_test_src_set_property),
(gst_video_test_src_get_property), (gst_video_test_src_create):
* gst/videotestsrc/gstvideotestsrc.h:
Cleanups, use default property values as defines.
Add property to enable/disable peer buffer allocation.
2008-07-01 13:22:49 +00:00
Sebastian Dröge 59a0c5373d tests/check/: Enable unit tests on PPC again as the bugs are now fixed.
Original commit message from CVS:
* tests/check/elements/gdpdepay.c: (gdpdepay_suite):
* tests/check/pipelines/streamheader.c: (streamheader_suite):
Enable unit tests on PPC again as the bugs are now fixed.
2008-06-30 09:46:15 +00:00
Sebastian Dröge 1aca2efee8 gst-libs/gst/riff/: Add support for ADPCM IMA DK3 and DK4 variant in RIFF containers.
Original commit message from CVS:
* gst-libs/gst/riff/riff-ids.h:
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_audio_caps),
(gst_riff_create_audio_template_caps):
Add support for ADPCM IMA DK3 and DK4 variant in RIFF containers.
Fixes bug #540351.
2008-06-30 09:20:59 +00:00
Sebastian Dröge a97dc76ad7 gst/ffmpegcolorspace/: Only set/get on the PAL8 format, ffmpegcolorspace doesn't support it on other formats. Also ad...
Original commit message from CVS:
* gst/ffmpegcolorspace/gstffmpegcodecmap.c:
(gst_ffmpeg_pixfmt_to_caps):
* gst/ffmpegcolorspace/gstffmpegcolorspace.c:
(gst_ffmpegcsp_get_unit_size):
Only set/get on the PAL8 format, ffmpegcolorspace doesn't support
it on other formats. Also adjust the unit size only for that format
to not include the palette. Fixes bug #540497.
2008-06-30 08:29:09 +00:00
Stefan Kost e0d27d23cc gst/adder/gstadder.c: Use GST_DEBUG_FUNCPTR and remove some extra vlnak lines.
Original commit message from CVS:
* gst/adder/gstadder.c:
Use GST_DEBUG_FUNCPTR and remove some extra vlnak lines.
2008-06-29 13:45:27 +00:00
Stefan Kost 2734b6da77 ChangeLog: ChangeLog surgery.
Original commit message from CVS:
* ChangeLog:
ChangeLog surgery.
* tests/examples/seek/seek.c:
Move variable into ifdef too.
2008-06-27 07:55:40 +00:00
Stefan Kost 724c8a3711 tests/examples/seek/seek.c: Include config.h and check if we have X. Fixes: #540334.
Original commit message from CVS:
* tests/examples/seek/seek.c:
Include config.h and check if we have X. Fixes: #540334.
2008-06-27 07:42:07 +00:00
Sam Morris 752cf09704 gst-libs/gst/interfaces/mixertrack.c: API: Add "index" property to GstMixerTrack to differantiate between multiple mi...
Original commit message from CVS:
Patch by: Sam Morris <sam at robots dot org to uk>
* gst-libs/gst/interfaces/mixertrack.c:
(gst_mixer_track_class_init), (gst_mixer_track_get_property),
(gst_mixer_track_set_property):
API: Add "index" property to GstMixerTrack to differantiate between
multiple mixer tracks with the same label.
* ext/alsa/gstalsamixeroptions.c: (gst_alsa_mixer_options_new):
* ext/alsa/gstalsamixertrack.c: (gst_alsa_mixer_track_new):
Set the "index" property of GstMixerTrack to the index given by ALSA.
Fixes bug #528299.
2008-06-26 06:03:38 +00:00
Stefan Kost 0d4409ce49 tests/examples/seek/: Remove libgstvideo usage. Use gtk_get_option_group instead of gtk_init().
Original commit message from CVS:
* tests/examples/seek/Makefile.am:
* tests/examples/seek/seek.c:
Remove libgstvideo usage. Use gtk_get_option_group instead of
gtk_init().
2008-06-25 13:15:50 +00:00
Stefan Kost 21ade62c0b tests/check/Makefile.am: Name the test registry format neutral.
Original commit message from CVS:
* tests/check/Makefile.am:
Name the test registry format neutral.
2008-06-24 16:27:35 +00:00
Stefan Kost 69f2aaea3c gst/playback/gstqueue2.c: Do not double notify. Remove the unsued return value.
Original commit message from CVS:
* gst/playback/gstqueue2.c:
Do not double notify. Remove the unsued return value.
2008-06-24 16:22:45 +00:00
Stefan Kost 1834a009a1 ext/alsa/gstalsamixer.c: Also consider "speaker" as a name for master volume. If that doesn't help look for the first...
Original commit message from CVS:
* ext/alsa/gstalsamixer.c:
Also consider "speaker" as a name for master volume. If that doesn't
help look for the first non-mono volume control that also has a
playback switch.
2008-06-24 16:15:26 +00:00
Stefan Kost 1598b58bbe ChangeLog: Forgot to save the ChangeLog :/
Original commit message from CVS:
* ChangeLog:
Forgot to save the ChangeLog :/
2008-06-24 16:10:50 +00:00
Stefan Kost 7922f23bbf tests/examples/seek/: Embedd the xwindow.
Original commit message from CVS:
* tests/examples/seek/Makefile.am:
* tests/examples/seek/seek.c:
Embedd the xwindow.
2008-06-24 16:05:06 +00:00
Jan Schmidt 4b5e729246 sys/ximage/ximagesink.h: When the caps change, make sure to re-draw borders in force-aspect-ratio=true mode.
Original commit message from CVS:
* sys/ximage/ximagesink.c (gst_ximagesink_ximage_put),
(gst_ximagesink_setcaps):
* sys/ximage/ximagesink.h:
When the caps change, make sure to re-draw borders in
force-aspect-ratio=true mode.
* sys/xvimage/xvimagesink.c (gst_xvimagesink_xvimage_put):
Don't clear the border_draw flag until we actually draw the border.
* tests/check/Makefile.am:
Ignore alsasink/src during the states test too, so it doesn't fail
when running without access to the sound device.
2008-06-24 01:14:40 +00:00
Stefan Kost 540a3816e4 tests/examples/seek/seek.c: Fix crasher when playing a parse-launch line the 2nd time.
Original commit message from CVS:
* tests/examples/seek/seek.c:
Fix crasher when playing a parse-launch line the 2nd time.
2008-06-22 18:35:27 +00:00
Thomas Vander Stichele f43a3f6acc tests/check/pipelines/oggmux.c: Properly ifdef tests to fix compilation.
Original commit message from CVS:
* tests/check/pipelines/oggmux.c:
Properly ifdef tests to fix compilation.
2008-06-21 18:56:08 +00:00
Thomas Vander Stichele 0b78e4c4f9 break long lines
Original commit message from CVS:
break long lines
2008-06-21 10:25:59 +00:00
Michael Smith 6ef8ecd7a3 gst/playback/: Add get-video-pad, get-audio-pad, get-text-pad action signals to playbin2. This allows the user to get...
Original commit message from CVS:
* gst/playback/gstplay-marshal.list:
* gst/playback/gstplaybin2.c:
Add get-video-pad, get-audio-pad, get-text-pad action signals to
playbin2. This allows the user to get to the selector's sinkpads, and
thus inspect a range of things - caps, tags, etc.
2008-06-20 18:24:24 +00:00
Michael Smith f5b9e8c065 gst/playback/gstplaybin2.c: Use a different constant for the convert-frame signal id.
Original commit message from CVS:
* gst/playback/gstplaybin2.c:
Use a different constant for the convert-frame signal id.
Fixes #537009.
2008-06-20 17:27:03 +00:00
Michael Smith 8a59d948d9 gst/playback/: Fix a whole bunch of typos in comments and log statements.
Original commit message from CVS:
* gst/playback/gstplaybin2.c:
* gst/playback/gstplaysink.c:
Fix a whole bunch of typos in comments and log statements.
2008-06-20 17:18:55 +00:00
Michael Smith 23f5a075ab sys/xvimage/xvimagesink.c: Don't set colour balance values on the Xv port if the user hasn't changed them (via proper...
Original commit message from CVS:
* sys/xvimage/xvimagesink.c:
Don't set colour balance values on the Xv port if the user hasn't
changed them (via properties or the interface). Avoids accumulating
rounding errors for the common case.
Partial fix for bug #537889.
2008-06-20 17:02:48 +00:00
Michael Smith 9d2564874a gst/playback/gstdecodebin2.c: Ensure decodebin2 emits 'drained' signal once, and only once, when all pads are drained.
Original commit message from CVS:
* gst/playback/gstdecodebin2.c:
Ensure decodebin2 emits 'drained' signal once, and only once, when all
pads are drained.
2008-06-20 16:56:18 +00:00
Wim Taymans 5ff8a9437e ext/vorbis/vorbisenc.c: Report the encoder latency. Fixes #538232.
Original commit message from CVS:
* ext/vorbis/vorbisenc.c: (gst_vorbis_enc_get_latency),
(gst_vorbis_enc_src_query), (gst_vorbis_enc_chain):
Report the encoder latency. Fixes #538232.
2008-06-20 09:25:44 +00:00
Wim Taymans cf7da52701 gst/playback/gstplaybin2.c: Implement the source property, emit notify when it changes in the underlying uridecodebin.
Original commit message from CVS:
* gst/playback/gstplaybin2.c: (gst_play_bin_get_property),
(notify_source), (activate_group):
Implement the source property, emit notify when it changes in the
underlying uridecodebin.
2008-06-20 09:19:59 +00:00
Wim Taymans 24770f8f62 tests/examples/seek/seek.c: Free and clear the seek element list so that we don't use invalid references when seeking...
Original commit message from CVS:
* tests/examples/seek/seek.c: (stop_cb):
Free and clear the seek element list so that we don't use invalid
references when seeking after recreating a gst-launch line.
2008-06-20 09:14:26 +00:00
Wim Taymans d2f328f55b gst-libs/gst/audio/gstbaseaudiosink.c: Report latency even if we are not live instead of hiding it.
Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_query), (gst_base_audio_sink_skew_slaving),
(gst_base_audio_sink_render):
Report latency even if we are not live instead of hiding it.
Take ts-offset and render-delay of the basesink into account when
scheduling samples.
Rework the clipping code so that we can take the various offsets into
account and still do correct clipping.
2008-06-20 09:09:37 +00:00
Jan Schmidt 6391d87d09 configure.ac: Bump verion back to devel -> 0.10.20.1
Original commit message from CVS:
* configure.ac:
Bump verion back to devel -> 0.10.20.1
2008-06-20 08:52:21 +00:00
Sebastian Dröge 31f3f65d53 gst-libs/gst/tag/tags.c: Don't increase the size of non-string image buffers by one as this might in theory confuse d...
Original commit message from CVS:
* gst-libs/gst/tag/tags.c: (gst_tag_image_data_to_image_buffer):
Don't increase the size of non-string image buffers by one as this
might in theory confuse decoders. Still increase it by one for string
image buffers to append '\0'.
2008-06-20 08:47:14 +00:00
Antoine Tremblay 1a71c15677 gst/gdp/gstgdppay.c: Fix a buffer memleak and remove a confusing and wrong debug output.
Original commit message from CVS:
Patch by: Antoine Tremblay <hexa00 at gmail dot com>
* gst/gdp/gstgdppay.c: (gst_gdp_pay_reset):
Fix a buffer memleak and remove a confusing and wrong debug output.
Fixes bug #538663.
2008-06-20 08:45:13 +00:00
Jan Schmidt 01e689e359 Release 0.10.20
Original commit message from CVS:
Release 0.10.20
2008-06-18 14:36:28 +00:00
Jan Schmidt 5dd552cf45 configure.ac: 0.10.19.3 pre-release
Original commit message from CVS:
* configure.ac:
0.10.19.3 pre-release
2008-06-11 21:17:01 +00:00
David Schleef 526b2e63a2 gst-libs/gst/rtsp/gstrtspconnection.c: Fix build on win32.
Original commit message from CVS:
* gst-libs/gst/rtsp/gstrtspconnection.c:
Fix build on win32.
Patch By: David Schleef <ds@schleef.org>
Fixes: #536874
2008-06-11 20:13:00 +00:00
Sebastian Dröge bb595d8fd8 ext/gio/gstgiobasesrc.*: Try to read the requested number of bytes, even if the first read returns less than requeste...
Original commit message from CVS:
* ext/gio/gstgiobasesrc.c: (gst_gio_base_src_finalize),
(gst_gio_base_src_create):
* ext/gio/gstgiobasesrc.h:
Try to read the requested number of bytes, even if the first
read returns less than requested, until nothing is read anymore
or we have the requested amount of bytes. This fixes playback of
files via Samba as Samba only allows to read 64k at once.
Implement a caching algorithm that makes sure that we read at
least 4k of data every time. Some elements will try to read a few
bytes, then seek, read again a few bytes and so on and this is
painfully slow as every operation has to go over DBus if GVfs is
used as backend.
Fixes bug #536849 and #536848.
* ext/gio/gstgiosrc.c: (gst_gio_src_class_init),
(gst_gio_src_check_get_range):
Override check_get_range() to blacklist http/https URIs
and whitelist file URIs. More to be added on demand.
2008-06-11 09:35:51 +00:00
Jan Schmidt 71546edc4b configure.ac: 0.10.19.2 pre-release
Original commit message from CVS:
* configure.ac:
0.10.19.2 pre-release
2008-06-05 09:47:23 +00:00
Jan Schmidt cb8b68c547 win32/common/: Add new API functions to the dll exports
Original commit message from CVS:
* win32/common/libgstrtsp.def:
* win32/common/libgsttag.def:
Add new API functions to the dll exports
2008-06-04 21:48:27 +00:00
Michael Smith 2fdd607e95 gst/playback/gstplaybasebin.c: Disconnect signals from decodebins we created before we remove it from playbin, to avo...
Original commit message from CVS:
* gst/playback/gstplaybasebin.c:
Disconnect signals from decodebins we created before we remove it from
playbin, to avoid crashes if the decodebin is eventually disposed after
the playbin itself (possible if the app takes a reference on the
decodebin).
Fixes #536521.
2008-06-04 17:42:38 +00:00
Tim-Philipp Müller 93db55c074 gst/typefind/gsttypefindfunctions.c: Bunch of small clean-ups: use gst_type_find_suggest_simple(); don't copy caps fo...
Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (aac_type_find),
(mp3_type_find), (musepack_type_find), (MULTIPART_MAX_HEADER_SIZE),
(mpeg_sys_type_find), (mpeg_ts_type_find), (mpeg4_video_type_find),
(h264_video_type_find), (mpeg_video_stream_type_find),
(dv_type_find), (mmsh_type_find):
Bunch of small clean-ups: use gst_type_find_suggest_simple(); don't
copy caps for no good reason (this may be desirable to make it easier
to detect leaks, but then it should probably be done for all caps
in the typefinder somewhere).
2008-06-04 17:12:40 +00:00
Peter Kjellerstedt ec07ea9905 tests/check/Makefile.am: Do not try to run the check tests for subparse unless it has been built.
Original commit message from CVS:
* tests/check/Makefile.am:
Do not try to run the check tests for subparse unless it has been
built.
2008-06-04 16:06:49 +00:00
Peter Kjellerstedt 4d05d8ab6b tests/check/pipelines/streamheader.c: Do not try to run a test which requires vorbisenc unless we have actually built...
Original commit message from CVS:
* tests/check/pipelines/streamheader.c: (buffer_probe_cb),
(test_multifdsink_gdp_vorbisenc), (streamheader_suite):
Do not try to run a test which requires vorbisenc unless we have
actually built it.
2008-06-04 16:00:26 +00:00
Peter Kjellerstedt 26cd5ea1c8 gst-libs/gst/rtsp/gstrtspconnection.*: Add a couple of missing argument guards.
Original commit message from CVS:
* gst-libs/gst/rtsp/gstrtspconnection.c:
(gst_rtsp_connection_set_auth), (gst_rtsp_connection_set_auth_param),
(gst_rtsp_connection_clear_auth_params),
(gst_rtsp_connection_set_qos_dscp), (gst_rtsp_connection_get_ip):
* gst-libs/gst/rtsp/gstrtspconnection.h:
Add a couple of missing argument guards.
Add a way of setting the DSCP for an RTSP connection.
Add an accessor method for the ip member of GstRTSPConnection as all
members are supposed to be private.
2008-06-04 11:53:53 +00:00
Peter Kjellerstedt c140528357 gst/tcp/gstmultifdsink.c: Fixed accidental use of IPv4 options for all IPv6 addresses.
Original commit message from CVS:
* gst/tcp/gstmultifdsink.c: (setup_dscp_client):
Fixed accidental use of IPv4 options for all IPv6 addresses.
2008-06-04 11:33:23 +00:00
Tim-Philipp Müller 44e087f8c9 gst-libs/gst/interfaces/mixertrack.h: Document mixer track flags.
Original commit message from CVS:
* gst-libs/gst/interfaces/mixertrack.h:
Document mixer track flags.
2008-06-04 10:18:42 +00:00
Antoine Tremblay be2f6a8085 gst/gdp/gstgdppay.c: Don't set caps on the buffers that contain a copy of the buffer including the caps of them resul...
Original commit message from CVS:
Patch by: Antoine Tremblay <hexa00 at gmail dot com>
* gst/gdp/gstgdppay.c: (gst_gdp_pay_reset_streamheader):
Don't set caps on the buffers that contain a copy of the buffer
including the caps of them resulting in an always increasing refcount
of the caps and insanely large caps. Instead include a buffer without
caps in the new caps. Fixes bug #536475.
2008-06-04 05:58:38 +00:00
Sebastian Dröge d57ab7cfdb gst/videoscale/gstvideoscale.c: Transform a given PAR to a range on the struct with the generic height/width instead ...
Original commit message from CVS:
* gst/videoscale/gstvideoscale.c: (gst_video_scale_transform_caps):
Transform a given PAR to a range on the struct with the generic
height/width instead of the struct with the possibly restricted
height/width.
2008-06-04 05:44:06 +00:00