Commit graph

4347 commits

Author SHA1 Message Date
Tim-Philipp Müller
46db91babf Update for gst_collectpads_foo() to gst_collect_pads_foo()
Original commit message from CVS:
* ext/ogg/gstoggmux.c: (gst_ogg_mux_init),
(gst_ogg_mux_request_new_pad), (gst_ogg_mux_queue_pads),
(gst_ogg_mux_clear_collectpads), (gst_ogg_mux_change_state):
* gst/adder/gstadder.c: (gst_adder_init),
(gst_adder_request_new_pad), (gst_adder_collected),
(gst_adder_change_state):
Update for gst_collectpads_foo() to gst_collect_pads_foo()
API change.
2005-11-21 11:54:16 +00:00
Michael Smith
035f96fe88 ext/vorbis/vorbisenc.c: Properly handle pad_push return values.
Original commit message from CVS:
* ext/vorbis/vorbisenc.c: (gst_vorbisenc_clear),
(gst_vorbisenc_chain), (gst_vorbisenc_output_buffers):
Properly handle pad_push return values.
2005-11-21 10:09:16 +00:00
Jan Schmidt
569286d058 gst-libs/gst/tag/: Remove obsolete vorbistag element and debug category.
Original commit message from CVS:
* gst-libs/gst/tag/Makefile.am:
* gst-libs/gst/tag/gstvorbistag.c:
(gst_tag_list_to_vorbiscomment_buffer):
Remove obsolete vorbistag element and debug category.

* gst/playback/gstplaybasebin.c: (check_queue):
Don't divide by 0 when queue-threshold is 0.

* sys/ximage/ximagesink.c: (gst_ximagesink_set_property):
Don't modify an existing pixel-aspect-ratio if we fail to read
a new one.
2005-11-20 17:11:06 +00:00
Wim Taymans
679918cbf6 ext/vorbis/vorbisenc.c: GST_PAD_IS_USABLE is gone, use the return value of the push or pad_alloc_buffer instead.
Original commit message from CVS:
* ext/vorbis/vorbisenc.c: (gst_vorbisenc_push_buffer),
(gst_vorbisenc_push_packet):
GST_PAD_IS_USABLE is gone, use the return value of
the push or pad_alloc_buffer instead.
2005-11-20 14:09:40 +00:00
Julien Moutte
9e0446f03e sys/ximage/ximagesink.*: Refactoring of ximagesink.
Original commit message from CVS:
2005-11-18  Julien MOUTTE  <julien@moutte.net>

* sys/ximage/ximagesink.c: (gst_ximage_buffer_finalize),
(gst_ximagesink_check_xshm_calls), (gst_ximagesink_ximage_new),
(gst_ximagesink_ximage_destroy),
(gst_ximagesink_xwindow_draw_borders),
(gst_ximagesink_ximage_put),
(gst_ximagesink_xwindow_new),
(gst_ximagesink_xwindow_update_geometry),
(gst_ximagesink_handle_xevents), (gst_ximagesink_event_thread),
(gst_ximagesink_xcontext_get), (gst_ximagesink_xcontext_clear),
(gst_ximagesink_bufferpool_clear), (gst_ximagesink_getcaps),
(gst_ximagesink_setcaps), (gst_ximagesink_change_state),
(gst_ximagesink_show_frame), (gst_ximagesink_buffer_alloc),
(gst_ximagesink_navigation_send_event),
(gst_ximagesink_set_xwindow_id), (gst_ximagesink_expose),
(gst_ximagesink_set_property), (gst_ximagesink_get_property),
(gst_ximagesink_finalize), (gst_ximagesink_init),
(gst_ximagesink_class_init):
* sys/ximage/ximagesink.h: Refactoring of ximagesink.
This new version brings correct software scaling, non flickering
window while resizing, pixel aspect ratio handling, usage of
hardware buffer pools, out of data flow event thread for
navigation and handling of expose events even when being PAUSED,
a new property to keep video aspect ratio when resizing, etc...
2005-11-18 17:58:12 +00:00
Julien Moutte
4f1890270b gst/videoscale/gstvideoscale.c: Introduce back caps fixate with handling of PAR.
Original commit message from CVS:
2005-11-18  Julien MOUTTE  <julien@moutte.net>

* gst/videoscale/gstvideoscale.c: (gst_videoscale_class_init),
(gst_videoscale_fixate_caps): Introduce back caps fixate with
handling of PAR.
2005-11-18 17:31:17 +00:00
Edward Hervey
8a955ff2c2 gst/playback/gstdecodebin.c: Unsetting IS_SINK flag from the fakesink, so decodebin never behaves as a sink.
Original commit message from CVS:
* gst/playback/gstdecodebin.c: (gst_decode_bin_init):
Unsetting IS_SINK flag from the fakesink, so decodebin
never behaves as a sink.
2005-11-18 13:04:19 +00:00
Wim Taymans
9edbf81fd2 gst-libs/gst/audio/gstbaseaudiosrc.c: Fix the audiosrc base class again, we did not unflush.
Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosrc.c:
(gst_base_audio_src_change_state):
Fix the audiosrc base class again, we did not unflush.
2005-11-17 14:40:12 +00:00
Julien Moutte
e76252cd21 examples/seeking/seek.c: Use VSINK everywhere, add a scaler to ogg/vorbis/theora pipeline.
Original commit message from CVS:
2005-11-17  Julien MOUTTE  <julien@moutte.net>

* examples/seeking/seek.c: (make_dv_pipeline),
(make_vorbis_theora_pipeline), (make_avi_pipeline),
(make_mpegnt_pipeline): Use VSINK everywhere, add a scaler
to ogg/vorbis/theora pipeline.
2005-11-17 12:36:36 +00:00
Wim Taymans
6002986857 ext/ogg/gstoggmux.c: Fix EOS on multiple streams.
Original commit message from CVS:
* ext/ogg/gstoggmux.c: (gst_ogg_mux_queue_pads),
(gst_ogg_mux_get_headers), (gst_ogg_mux_send_headers),
(gst_ogg_mux_collected), (gst_ogg_mux_change_state):
Fix EOS on multiple streams.
More debugging.
2005-11-17 10:56:14 +00:00
Wim Taymans
928996eb94 ext/ogg/gstoggdemux.c: Segment done must include stream time.
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_configure_segment),
(gst_ogg_demux_perform_seek):
Segment done must include stream time.

* ext/ogg/gstoggmux.c: (gst_ogg_mux_class_init),
(gst_ogg_mux_clear), (gst_ogg_mux_init), (gst_ogg_mux_finalize),
(gst_ogg_mux_change_state):
Fix ogg muxer again.
2005-11-16 19:32:50 +00:00
Wim Taymans
c70a2b383a ext/ogg/gstogmparse.c: Fix compile again.
Original commit message from CVS:
* ext/ogg/gstogmparse.c: (gst_ogm_audio_parse_init):
Fix compile again.
2005-11-16 18:43:35 +00:00
Thomas Vander Stichele
44ae8114e6 Fix a whole set of pad template leaks
Original commit message from CVS:
Fix a whole set of pad template leaks
2005-11-16 18:21:46 +00:00
Thomas Vander Stichele
8097926306 clean up configure some more
Original commit message from CVS:
clean up configure some more
2005-11-16 18:20:17 +00:00
Thomas Vander Stichele
494dc46f17 check/generic/states.c: fix the test so that it only checks for elements that are part of this source module
Original commit message from CVS:
* check/generic/states.c: (GST_START_TEST):
fix the test so that it only checks for elements that are part of
this source module
2005-11-16 18:19:11 +00:00
Michael Smith
77c0003ad8 Don't leak collectpads from oggmux.
Original commit message from CVS:
Don't leak collectpads from oggmux.
2005-11-16 18:09:15 +00:00
Edward Hervey
a780198451 gst/videorate/gstvideorate.c: Handle segment seeks
Original commit message from CVS:
* gst/videorate/gstvideorate.c: (gst_videorate_blank_data),
(gst_videorate_event), (gst_videorate_chain):
Handle segment seeks
2005-11-16 17:56:40 +00:00
Wim Taymans
99fb91493e gst-libs/gst/audio/gstbaseaudiosink.c: Set ringbuffer to non-flushing when going to PAUSED, set to flushing again whe...
Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_provide_clock),
(gst_base_audio_sink_change_state):
Set ringbuffer to non-flushing when going to PAUSED, set to
flushing again when going to READY.

* gst-libs/gst/audio/gstringbuffer.c: (gst_ring_buffer_init),
(gst_ring_buffer_stop):
Start in flushing mode by default.
Don't set flushing in the _stop method, let the app call
this explicitly.
2005-11-16 16:48:35 +00:00
Julien Moutte
451645fd56 gst-libs/gst/video/: Add helper function needed for video sinks.
Original commit message from CVS:
2005-11-16  Julien MOUTTE  <julien@moutte.net>

* gst-libs/gst/video/gstvideosink.c:
(gst_video_sink_center_rect):
* gst-libs/gst/video/videosink.h: Add helper function needed
for video sinks.
2005-11-16 15:59:21 +00:00
Tim-Philipp Müller
0f873a9ab4 gst/videoscale/gstvideoscale.c: Don't leak reference to pad parent.
Original commit message from CVS:
* gst/videoscale/gstvideoscale.c:
(gst_videoscale_handle_src_event):
Don't leak reference to pad parent.
2005-11-16 12:23:02 +00:00
Wim Taymans
8360581332 gst-libs/gst/audio/gstringbuffer.c: Set ringbuffer to flushing when stopping so that we don't block on wait_segment a...
Original commit message from CVS:
* gst-libs/gst/audio/gstringbuffer.c: (gst_ring_buffer_stop):
Set ringbuffer to flushing when stopping so that we don't
block on wait_segment anymore and livelock.
2005-11-16 12:17:06 +00:00
Wim Taymans
27ebf53a09 examples/seeking/seek.c: Added looping checkbox.
Original commit message from CVS:
* examples/seeking/seek.c: (send_event), (do_seek),
(loop_toggle_cb), (segment_done), (main):
Added looping checkbox.
2005-11-16 10:54:45 +00:00
Thomas Vander Stichele
83b5dc6e8a revert unrefs, they don't pass make check
Original commit message from CVS:
revert unrefs, they don't pass make check
2005-11-16 00:11:36 +00:00
Johan Dahlin
f7b6b6129e fix caps leak
Original commit message from CVS:
fix caps leak
2005-11-15 19:56:51 +00:00
Johan Dahlin
e29263ef06 Yes, I know I should use gst_object_unref
Original commit message from CVS:
Yes, I know I should use gst_object_unref
2005-11-15 19:38:14 +00:00
Johan Dahlin
4f08d8649d Plug leaks.
Original commit message from CVS:
Plug leaks.
2005-11-15 19:34:39 +00:00
Tim-Philipp Müller
533d7d68c3 sys/xvimage/xvimagesink.c: Make state change function thread safe.
Original commit message from CVS:
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_change_state):
Make state change function thread safe.
2005-11-15 19:01:43 +00:00
Edward Hervey
8c392fb611 ext/ogg/gstoggdemux.c: Implement GstElement::send_event, so we can send seek events in GST_STATE_READY
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_receive_event),
(gst_ogg_demux_class_init):
Implement GstElement::send_event, so we can send seek events
in GST_STATE_READY
2005-11-15 18:11:17 +00:00
Julien Moutte
0a55772493 sys/xvimage/xvimagesink.c: Discovered how to take away flickering while resizing the window. Please don't put that in...
Original commit message from CVS:
2005-11-14  Julien MOUTTE  <julien@moutte.net>

* sys/xvimage/xvimagesink.c: (gst_xvimagesink_xwindow_new):
Discovered how to take away flickering while resizing the
window. Please don't put that in ximagesink, refactoring in
progress.
2005-11-14 22:01:22 +00:00
Michael Smith
eac77914d3 gst/tcp/gstmultifdsink.c: Don't leak GDP headers when using GDP mode (i.e. tcpserversink).
Original commit message from CVS:
* gst/tcp/gstmultifdsink.c: (gst_multifdsink_client_queue_data),
(gst_multifdsink_render):
Don't leak GDP headers when using GDP mode (i.e. tcpserversink).
2005-11-14 18:47:54 +00:00
Tim-Philipp Müller
726770239d gst/playback/gstplaybin.c: Use autoaudiosink, it tends to be more widely available than autoaudiiosink.
Original commit message from CVS:
* gst/playback/gstplaybin.c: (gen_audio_element):
Use autoaudiosink, it tends to be more widely available than
autoaudiiosink.
2005-11-14 18:26:21 +00:00
Andy Wingo
65480fcc2d gst/playback/gstplaybin.c (gen_audio_element): Use autoaudiosink as well if it is available. Fixes #316442.
Original commit message from CVS:
2005-11-14  Andy Wingo  <wingo@pobox.com>

* gst/playback/gstplaybin.c (gen_audio_element): Use autoaudiosink
as well if it is available. Fixes #316442.
2005-11-14 17:44:40 +00:00
Michael Smith
84d7f7462e ext/: Fix a small memory leak in vorbisenc.
Original commit message from CVS:
* ext/ogg/gstoggmux.c: (gst_ogg_mux_clear), (gst_ogg_mux_init),
(gst_ogg_mux_sinkconnect), (gst_ogg_mux_request_new_pad),
(gst_ogg_mux_push_buffer), (gst_ogg_mux_dequeue_page),
(gst_ogg_mux_pad_queue_page), (gst_ogg_mux_queue_pads),
(gst_ogg_mux_set_header_on_caps), (gst_ogg_mux_collected),
(gst_ogg_mux_clear_collectpads), (gst_ogg_mux_change_state):
* ext/vorbis/vorbisenc.c: (gst_vorbisenc_buffer_from_packet),
(gst_vorbisenc_change_state):
Fix a small memory leak in vorbisenc.
Fix large memory leaks in oggmux, also fix lots of state change
bugs in oggmux.
2005-11-14 16:11:53 +00:00
Thomas Vander Stichele
38383d1d6f gst/videotestsrc/gstvideotestsrc.c: move fixation to a fixate function remove negotiate function, basesrc's is good e...
Original commit message from CVS:
* gst/videotestsrc/gstvideotestsrc.c:
(gst_videotestsrc_class_init), (gst_videotestsrc_init),
(gst_videotestsrc_src_fixate):
move fixation to a fixate function
remove negotiate function, basesrc's is good enough
fixes a bug for check when using the element alone
2005-11-14 12:15:01 +00:00
Thomas Vander Stichele
560bc53f37 rework configure.ac; make asterisk rtp stuff compile on mingw
Original commit message from CVS:
rework configure.ac; make asterisk rtp stuff compile on mingw
2005-11-14 02:13:27 +00:00
Edward Hervey
771ad7b3cb examples/seeking/seek.c: Added checkboxes for adding/removing the accurate and key_unit seek flags.
Original commit message from CVS:
* examples/seeking/seek.c: (do_seek), (accurate_toggle_cb),
(key_toggle_cb), (main):
Added checkboxes for adding/removing the accurate and key_unit seek
flags.
2005-11-13 13:53:26 +00:00
Thomas Vander Stichele
ac198e612c back to head
Original commit message from CVS:
back to head
2005-11-11 19:32:17 +00:00
Thomas Vander Stichele
99ba50c023 releasing 0.9.5
Original commit message from CVS:
releasing 0.9.5
2005-11-11 19:31:04 +00:00
Edward Hervey
6f844d7547 examples/seeking/seek.c: Added parse-launch syntax seeking mode for the seeking example.
Original commit message from CVS:
* examples/seeking/seek.c: (make_parselaunch_pipeline):
Added parse-launch syntax seeking mode for the seeking example.
This should help stress-test even more cases.
Ex usage : ./seek 15 "filesrc location=uranus.avi ! decodebin ! xvimagesink"
2005-11-11 19:16:35 +00:00
Tim-Philipp Müller
e6ef73471b sys/xvimage/xvimagesink.c: Check whether peer pad exists before sending navigation events to it.
Original commit message from CVS:
* sys/xvimage/xvimagesink.c:
(gst_xvimagesink_navigation_send_event):
Check whether peer pad exists before sending navigation events
to it.
2005-11-11 17:41:04 +00:00
Thomas Vander Stichele
0928b25a19 Update .po files
Original commit message from CVS:
Update .po files
2005-11-11 17:40:14 +00:00
Michael Smith
4427a67754 ext/vorbis/vorbisenc.*: Set duration on encoded buffers. This allows oggmux's max_page_delay parameter to actually work.
Original commit message from CVS:
* ext/vorbis/vorbisenc.c: (gst_vorbisenc_setup),
(gst_vorbisenc_buffer_from_packet):
* ext/vorbis/vorbisenc.h:
Set duration on encoded buffers. This allows oggmux's
max_page_delay parameter to actually work.
2005-11-11 16:35:39 +00:00
Tim-Philipp Müller
f407a3766e gst/ffmpegcolorspace/: Make palettes work again (see #132341). Use our own macros for rounding up.
Original commit message from CVS:
* gst/ffmpegcolorspace/gstffmpegcodecmap.c:
(gst_ffmpeg_get_palette), (gst_ffmpeg_set_palette),
(gst_ffmpegcsp_avpicture_fill):
* gst/ffmpegcolorspace/gstffmpegcolorspace.c:
(gst_ffmpegcsp_get_unit_size), (gst_ffmpegcsp_transform):
Make palettes work again (see #132341). Use our own macros
for rounding up.
2005-11-11 15:55:38 +00:00
Andy Wingo
32745f7737 foo
Original commit message from CVS:
foo
2005-11-10 19:06:21 +00:00
Andy Wingo
d6d7f17043 gst/playback/gstplaybasebin.c (prepare_output): Fix format string doober.
Original commit message from CVS:
2005-11-10  Andy Wingo  <wingo@pobox.com>

* gst/playback/gstplaybasebin.c (prepare_output): Fix format
string doober.
2005-11-10 19:05:38 +00:00
Thomas Vander Stichele
8f560885c2 gst/ffmpegcolorspace/gstffmpegcolorspace.c: Prefer passthrough in transform_caps
Original commit message from CVS:
* gst/ffmpegcolorspace/gstffmpegcolorspace.c:
(gst_ffmpegcsp_transform_caps):
Prefer passthrough in transform_caps
2005-11-10 18:57:17 +00:00
Thomas Vander Stichele
1f1bfe8a09 ext/alsa/gstalsasink.c: check for ALSA errors properly, instead of relying on ALSA's error strings to serve to the user.
Original commit message from CVS:
* ext/alsa/gstalsasink.c: (gst_alsasink_open):
check for ALSA errors properly, instead of relying on ALSA's
error strings to serve to the user.
2005-11-10 18:47:20 +00:00
Wim Taymans
4f9f097798 ext/ogg/gstoggdemux.c: Modernise the seek code.
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_event), (gst_ogg_demux_init),
(gst_ogg_demux_configure_segment), (gst_ogg_demux_perform_seek),
(gst_ogg_demux_loop), (gst_ogg_demux_change_state):
Modernise the seek code.
2005-11-10 18:01:28 +00:00
Michael Smith
3b5568c1a4 gst/playback/gstplaybasebin.c: Unlock GROUP_LOCK in failure cases, so that we don't deadlock when trying to go to NUL...
Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (group_commit), (new_decoded_pad),
(setup_substreams), (set_active_source):
Unlock GROUP_LOCK in failure cases, so that we don't deadlock when
trying to go to NULL if we failed to read a file.
2005-11-10 17:29:48 +00:00
Wim Taymans
31461ebd0b gst/: The base class can now sync for us.
Original commit message from CVS:
* gst/audiotestsrc/gstaudiotestsrc.c:
(gst_audiotestsrc_class_init), (gst_audiotestsrc_get_times),
(gst_audiotestsrc_create):
* gst/sine/gstsinesrc.c: (gst_sinesrc_class_init),
(gst_sinesrc_get_times), (gst_sinesrc_create):
* gst/videotestsrc/gstvideotestsrc.c:
(gst_videotestsrc_class_init), (gst_videotestsrc_get_times),
(gst_videotestsrc_create):
The base class can now sync for us.
2005-11-10 14:58:41 +00:00