Commit graph

4097 commits

Author SHA1 Message Date
Andy Wingo
14e8166740 Move comment.
Original commit message from CVS:
(gst_udpsrc_create): Move comment.
2005-11-16 11:02:24 +00:00
Andy Wingo
e84b50dd51 gst/udp/gstudpsrc.c: Clean up with the boilerplate macro.
Original commit message from CVS:
2005-11-16  Andy Wingo  <wingo@pobox.com>

* gst/udp/gstudpsrc.c: Clean up with the boilerplate macro.
2005-11-16 10:43:44 +00:00
Tim-Philipp Müller
7f63b50f3f gst/matroska/matroska-demux.c: When seeking, seek to closest index entry at or before the requested seek position, no...
Original commit message from CVS:
Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
* gst/matroska/matroska-demux.c: (gst_matroskademux_do_index_seek):
When seeking, seek to closest index entry at or before the requested
seek position, not just the closest one (#321001).
2005-11-15 19:41:21 +00:00
Tim-Philipp Müller
12aed9b96e gst/avi/gstavidemux.c: Invert DIB images again (see #132341).
Original commit message from CVS:
* gst/avi/gstavidemux.c: (swap_line), (gst_avi_demux_invert),
(gst_avi_demux_process_next_entry), (gst_avi_demux_stream_data):
Invert DIB images again (see #132341).
2005-11-15 12:16:00 +00:00
Thomas Vander Stichele
6ff59b2f6e 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:35 +00:00
Edward Hervey
57b2ee4bb5 ext/jpeg/gstjpegdec.c: Only GST_DEBUG() information on the valid components.
Original commit message from CVS:
* ext/jpeg/gstjpegdec.c: (gst_jpeg_dec_chain):
Only GST_DEBUG() information on the valid components.
2005-11-12 13:31:56 +00:00
Thomas Vander Stichele
ff383c59f2 back to head
Original commit message from CVS:
back to head
2005-11-11 19:34:50 +00:00
Thomas Vander Stichele
20204bafa3 releasing 0.9.5
Original commit message from CVS:
releasing 0.9.5
2005-11-11 19:33:23 +00:00
Thomas Vander Stichele
4afd1c36fb Update .po files
Original commit message from CVS:
Update .po files
2005-11-11 18:33:21 +00:00
Edward Hervey
ad2f2ea24b gst/avi/gstavidemux.*: Yeah, implement proper seeking. Exact seeking and segment seeking.
Original commit message from CVS:
* gst/avi/gstavidemux.c: (gst_avi_demux_reset),
(gst_avi_demux_src_convert), (gst_avi_demux_handle_src_event),
(gst_avi_demux_stream_header), (gst_avi_demux_handle_seek),
(gst_avi_demux_process_next_entry), (gst_avi_demux_stream_data),
(gst_avi_demux_loop):
* gst/avi/gstavidemux.h:
Yeah, implement proper seeking. Exact seeking and segment seeking.
Still need to do some checks for segment_stop.
2005-11-11 16:48:58 +00:00
Christian Schaller
0c911ec4de fix Cairo entry
Original commit message from CVS:
fix Cairo entry
2005-11-11 15:17:44 +00:00
Tim-Philipp Müller
9c38390e83 gst/qtdemux/qtdemux.c: Add support for custom genre tags.
Original commit message from CVS:
Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
* gst/qtdemux/qtdemux.c: (qtdemux_parse_udta):
Add support for custom genre tags.
2005-11-10 12:34:26 +00:00
Tim-Philipp Müller
c16c22e4c1 gst/matroska/matroska-mux.c: Don't try to ready buffer duration from buffer that we don't own any longer and that mi...
Original commit message from CVS:
Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
* gst/matroska/matroska-mux.c: (gst_matroska_mux_write_data):
Don't try to ready buffer duration from buffer that we don't
own any  longer and that might already have been unreffed.
(#321136)
2005-11-10 12:22:30 +00:00
Zeeshan Ali
8a534978d4 Attempting to optimize the code for embedded systems.
Original commit message from CVS:
Attempting to optimize the code for embedded systems.
2005-11-09 21:35:29 +00:00
Tim-Philipp Müller
a9c9d62886 sys/oss/gstosssink.c: Don't re-use already closed file descriptor. (#320920)
Original commit message from CVS:
Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
* sys/oss/gstosssink.c: (gst_oss_sink_close):
Don't re-use already closed file descriptor. (#320920)
2005-11-08 08:54:30 +00:00
Tim-Philipp Müller
ef3e55d3a6 sys/oss/gstosssink.*: Cache probed caps; fix debug output for SET_PARAM macros.
Original commit message from CVS:
* sys/oss/gstosssink.c: (gst_oss_sink_dispose),
(gst_oss_sink_set_property), (gst_oss_sink_getcaps),
(gst_oss_sink_prepare):
* sys/oss/gstosssink.h:
Cache probed caps; fix debug output for SET_PARAM macros.
2005-11-07 17:35:20 +00:00
Tim-Philipp Müller
8af7381d5c ext/cairo/: Port cairo textoverlay plugin to 0.9. Add 'shaded-background' property and redo position. Doesn't handle ...
Original commit message from CVS:
* ext/cairo/Makefile.am:
* ext/cairo/gstcairo.c: (plugin_init):
* ext/cairo/gsttextoverlay.c: (gst_text_overlay_base_init),
(gst_text_overlay_class_init), (gst_text_overlay_finalize),
(gst_text_overlay_init), (gst_text_overlay_font_init),
(gst_text_overlay_set_property), (gst_text_overlay_render_text),
(gst_text_overlay_getcaps), (gst_text_overlay_setcaps),
(gst_text_overlay_text_pad_linked),
(gst_text_overlay_text_pad_unlinked), (gst_text_overlay_shade_y),
(gst_text_overlay_blit_1), (gst_text_overlay_blit_sub2x2),
(gst_text_overlay_push_frame), (gst_text_overlay_pop_video),
(gst_text_overlay_pop_text), (gst_text_overlay_collected),
(gst_text_overlay_change_state):
* ext/cairo/gsttextoverlay.h:
Port cairo textoverlay plugin to 0.9. Add 'shaded-background'
property and redo position. Doesn't handle upstream renegotiation
yet though.
2005-11-07 15:09:54 +00:00
Tim-Philipp Müller
fb1c3904f7 gst/avi/gstavidemux.c: No need to take the STREAM_LOCK in the loop function. Improve some debug messages. Don't leak ...
Original commit message from CVS:
* gst/avi/gstavidemux.c: (gst_avi_demux_parse_stream),
(gst_avi_demux_process_next_entry), (gst_avi_demux_stream_data),
(gst_avi_demux_loop):
No need to take the STREAM_LOCK in the loop function. Improve
some debug messages. Don't leak pad names in debug messages.
2005-11-07 10:31:32 +00:00
Tim-Philipp Müller
7eb9e37532 gst/matroska/matroska-demux.c: Don't error out when the source pad isn't linked.
Original commit message from CVS:
* gst/matroska/matroska-demux.c:
(gst_matroska_demux_push_vorbis_codec_priv_data),
(gst_matroska_demux_add_wvpk_header):
Don't error out when the source pad isn't linked.
2005-11-07 10:27:00 +00:00
Tim-Philipp Müller
98d290b864 ext/gconf/: Fix state change functions here as well and set kid to NULL state before removing it.
Original commit message from CVS:
* ext/gconf/gstgconfaudiosink.c: (do_toggle_element),
(gst_gconf_audio_sink_change_state):
* ext/gconf/gstgconfvideosink.c: (do_toggle_element),
(gst_gconf_video_sink_change_state):
Fix state change functions here as well and set kid
to NULL state before removing it.
2005-11-02 19:42:38 +00:00
Thomas Vander Stichele
4ab30e5583 sigh, static pad templates aren't refcounted properly
Original commit message from CVS:
sigh, static pad templates aren't refcounted properly
2005-11-02 16:48:55 +00:00
Thomas Vander Stichele
41924ca7ff ignore more
Original commit message from CVS:
ignore more
2005-11-01 16:14:25 +00:00
Edward Hervey
53840faa46 gst/wavenc/gstwavenc.c: Added proper event handlind, made downstream newsegment event use GST_FORMAT_BYTES (otherwise...
Original commit message from CVS:
* gst/wavenc/gstwavenc.c: (gst_wavenc_stop_file),
(gst_wavenc_init), (gst_wavenc_event), (gst_wavenc_chain):
Added proper event handlind,
made downstream newsegment event use GST_FORMAT_BYTES (otherwise it's
ignored),
and don't set a duration of 0 for buffers otherwise they are discarded
by GstBaseSink.
GstWavEnc needs some serious loving, after going through the code I'm
really wondering how this can stay in -good ...
2005-11-01 15:15:44 +00:00
Thomas Vander Stichele
b1b1fe52d6 Fix leaks and invalid memory access as reported by valgrind
Original commit message from CVS:

* check/elements/matroskamux.c: (setup_src_pad), (setup_sink_pad),
(setup_matroskamux), (check_buffer_data), (GST_START_TEST):
* gst/matroska/matroska-mux.c: (gst_matroska_mux_finalize),
(gst_matroska_mux_reset), (gst_matroska_mux_audio_pad_setcaps),
(gst_matroska_mux_start), (gst_matroska_mux_write_data),
(gst_matroska_mux_collected):
Fix leaks and invalid memory access as reported by valgrind
2005-11-01 15:11:16 +00:00
Thomas Vander Stichele
c88fb97881 ... and add the missing file
Original commit message from CVS:
... and add the missing file
2005-11-01 14:41:01 +00:00
Michal Benes
d52d22ca12 add a unit test for matroskamux fix the bugs that the unit test exposed
Original commit message from CVS:
Patch by: Michal Benes <michal.benes@xeris.cz>

* check/Makefile.am:
* gst/matroska/ebml-write.c: (gst_ebml_write_seek):
* gst/matroska/matroska-mux.c: (gst_matroska_mux_handle_src_event),
(gst_matroska_mux_audio_pad_setcaps), (gst_matroska_mux_start):
add a unit test for matroskamux
fix the bugs that the unit test exposed
2005-11-01 14:36:02 +00:00
Thomas Vander Stichele
c63a68efb7 fix Makefile.am
Original commit message from CVS:
fix Makefile.am
2005-11-01 14:34:22 +00:00
Tim-Philipp Müller
7448422fe2 gst/autodetect/: Fix state change function and use GST_DEBUG_FUNCPTR in class_init.
Original commit message from CVS:
* gst/autodetect/gstautoaudiosink.c:
(gst_auto_audio_sink_class_init),
(gst_auto_audio_sink_change_state):
* gst/autodetect/gstautovideosink.c:
(gst_auto_video_sink_class_init),
(gst_auto_video_sink_change_state):
Fix state change function and use GST_DEBUG_FUNCPTR in
class_init.
2005-11-01 12:39:16 +00:00
Tim-Philipp Müller
7d9dd13c6e gst/matroska/: Set timestamps on outgoing ebml headers as well, so that the element after matroskamux can get the tim...
Original commit message from CVS:
Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
* gst/matroska/ebml-write.c: (gst_ebml_write_new),
(gst_ebml_write_reset), (gst_ebml_write_element_new):
* gst/matroska/ebml-write.h:
* gst/matroska/matroska-mux.c: (gst_matroska_mux_write_data):
Set timestamps on outgoing ebml headers as well, so that the
element after matroskamux can get the timestamp already when
reading the first ebml element and doesn't have to wait for
the actual data buffer for that (#320308).
2005-11-01 12:35:39 +00:00
Andy Wingo
2778e393c6 gst/videomixer/videomixer.c (gst_videomixer_pad_unlink)
Original commit message from CVS:
2005-10-31  Andy Wingo  <wingo@pobox.com>

* gst/videomixer/videomixer.c (gst_videomixer_pad_unlink)
(gst_videomixer_pad_link): Kill some memleaks.
(gst_videomixer_pad_get_property): Style fix.
(gst_videomixer_pad_set_property): Style fix.
(gst_videomixer_pad_init): Style fix.
(gst_videomixer_update_queues): Kill memleak.
(gst_videomixer_loop): Kill memleak.
(gst_videomixer_collected): Kill memleak.
2005-10-31 22:08:52 +00:00
Edgard Lima
f8667dcaec Just some cleanup.
Original commit message from CVS:
Just some cleanup.
2005-10-31 19:08:27 +00:00
Edgard Lima
7d5d482411 Add checks to GST_FLOW_NOT_LINKED for values returned from gst_pad_push.
Original commit message from CVS:
Add checks to GST_FLOW_NOT_LINKED for values returned from gst_pad_push.
2005-10-31 14:41:31 +00:00
Zeeshan Ali
6662f94650 Payloader now sets some default caps on the srcpad if caps on the sinkpad are never set. This is important for the g7...
Original commit message from CVS:
Payloader now sets some default caps on the srcpad if caps on the sinkpad are never set. This is important for the g711 to work with burger's rtpbin element.
2005-10-31 12:00:10 +00:00
Edgard Lima
758cd8fd18 Add checks for return values from gst_pad_push and gst_pad_alloc_buffer.
Original commit message from CVS:
Add checks for return values from gst_pad_push and gst_pad_alloc_buffer.
2005-10-28 19:19:40 +00:00
Tim-Philipp Müller
0166570e09 gst/matroska/: Add SimpleBlock support to matroska demuxer and muxer (part of
Original commit message from CVS:
Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
* gst/matroska/matroska-demux.c: (gst_matroska_demux_init_stream),
(gst_matroska_demux_parse_info),
(gst_matroska_demux_parse_blockgroup_or_simpleblock),
(gst_matroska_demux_parse_cluster):
* gst/matroska/matroska-ids.h:
* gst/matroska/matroska-mux.c: (gst_matroska_mux_class_init),
(gst_matroska_mux_init), (gst_matroska_mux_start),
(gst_matroska_mux_create_buffer_header),
(gst_matroska_mux_write_data), (gst_matroska_mux_set_property),
(gst_matroska_mux_get_property):
* gst/matroska/matroska-mux.h:
Add SimpleBlock support to matroska demuxer and muxer (part of
Matroska v2). (#319731)
2005-10-28 15:32:48 +00:00
Wim Taymans
a6562db286 ext/jpeg/gstjpegdec.*: Cleanups. Don't create caps for every chain.
Original commit message from CVS:
* ext/jpeg/gstjpegdec.c: (gst_jpeg_dec_init), (gst_jpeg_dec_chain),
(gst_jpeg_dec_change_state):
* ext/jpeg/gstjpegdec.h:
Cleanups. Don't create caps for every chain.
2005-10-28 13:24:40 +00:00
Flavio Oliveira
3a08bb8732 Fix to set timestamp on buffer, it was tested with RTP G711 elements.
Original commit message from CVS:
Fix to set timestamp on buffer, it was tested with RTP G711 elements.
2005-10-27 18:46:32 +00:00
Tim-Philipp Müller
e7a14b7a00 gst/qtdemux/qtdemux.h: Remove got_redirect from class structure as well.
Original commit message from CVS:
* gst/qtdemux/qtdemux.h:
Remove got_redirect from class structure as well.
2005-10-27 11:27:53 +00:00
Tim-Philipp Müller
e3b9734659 gst/qtdemux/qtdemux.c: Remove 'got-redirect' signal and post element message on the bus instead.
Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_class_init),
(qtdemux_parse_tree):
Remove 'got-redirect' signal and post element message
on the bus instead.
2005-10-27 11:25:19 +00:00
Wim Taymans
58a2d25be7 sys/oss/gstosssrc.c: Set correct format on oss instead of a silly value.
Original commit message from CVS:
* sys/oss/gstosssrc.c: (gst_oss_src_prepare):
Set correct format on oss instead of a silly value.
2005-10-27 11:00:40 +00:00
Julien Moutte
92473c6e34 gst/videobox/gstvideobox.c: Use liboil for
Original commit message from CVS:
2005-10-27  Julien MOUTTE  <julien@moutte.net>

* gst/videobox/gstvideobox.c: (gst_video_box_class_init),
(gst_video_box_transform_caps), (gst_video_box_set_caps),
(gst_video_box_get_unit_size), (gst_video_box_copy_plane_i420),
(gst_video_box_i420), (gst_video_box_ayuv): Use liboil for
I420 rendering as well, doesn't bring much for my platform.
Might help on some other platforms.
2005-10-27 09:52:08 +00:00
Zeeshan Ali
b08773ea83 Declaring the padtemplate correctly.
Original commit message from CVS:
Declaring the padtemplate correctly.
2005-10-26 21:47:36 +00:00
Zeeshan Ali
1a3c167987 Setting the proper copyright notice.
Original commit message from CVS:
Setting the proper copyright notice.
2005-10-26 20:28:32 +00:00
Julien Moutte
b1f244b5a6 gst/videobox/Makefile.am: Use liboil.
Original commit message from CVS:
2005-10-26  Julien MOUTTE  <julien@moutte.net>

* gst/videobox/Makefile.am: Use liboil.
* gst/videobox/gstvideobox.c: (gst_video_box_class_init),
(gst_video_box_set_property), (gst_video_box_transform_caps),
(gst_video_box_set_caps), (gst_video_box_get_unit_size),
(gst_video_box_ayuv): Lot of optimization in AYUV rendering
using liboil. Will dot the same to I420 border generation
tomorrow.
2005-10-26 17:23:06 +00:00
Thomas Vander Stichele
f7d6a2f131 fix automake warnings
Original commit message from CVS:
fix automake warnings
2005-10-26 16:36:01 +00:00
Zeeshan Ali
f2b394e1d9 Hacked the G711 (de)payloader to try to make things right. rtpg711dec now inherits from the basertpdepayloader.
Original commit message from CVS:
Hacked the G711 (de)payloader to try to make things right. rtpg711dec now inherits from the basertpdepayloader.
2005-10-26 14:50:59 +00:00
Julien Moutte
fbc72574b2 gst/videobox/gstvideobox.c: Removing this forgotten debug.
Original commit message from CVS:
2005-10-26  Julien MOUTTE  <julien@moutte.net>

* gst/videobox/gstvideobox.c: (gst_video_box_class_init),
(gst_video_box_transform_caps), (gst_video_box_get_unit_size),
(gst_video_box_ayuv): Removing this forgotten debug.
2005-10-26 14:23:45 +00:00
Julien Moutte
eb21c9bf1c gst/videobox/gstvideobox.c: Fix the stride issue when boxing to AYUV.
Original commit message from CVS:
2005-10-26  Julien MOUTTE  <julien@moutte.net>

* gst/videobox/gstvideobox.c: (gst_video_box_class_init),
(gst_video_box_transform_caps), (gst_video_box_get_unit_size),
(gst_video_box_ayuv): Fix the stride issue when boxing to AYUV.
2005-10-26 14:08:49 +00:00
Tim-Philipp Müller
6b9cda6ee9 sys/oss/: Actually use the 'oss' debug category we register.
Original commit message from CVS:
* sys/oss/gstossaudio.c:
* sys/oss/gstossdmabuffer.c:
* sys/oss/gstosshelper.c:
* sys/oss/gstossmixer.c:
* sys/oss/gstossmixerelement.c:
* sys/oss/gstossmixertrack.c:
* sys/oss/gstosssink.c:
* sys/oss/gstosssrc.c:
Actually use the 'oss' debug category we register.
2005-10-26 11:12:34 +00:00
Julien Moutte
caa4645ae9 gst/videomixer/videomixer.c: Use gst_pad_get_parent and drop the ref that was added through that call.
Original commit message from CVS:
2005-10-26  Julien MOUTTE  <julien@moutte.net>

* gst/videomixer/videomixer.c:
(gst_videomixer_pad_set_property),
(gst_videomixer_pad_sink_setcaps), (gst_videomixer_getcaps):
Use gst_pad_get_parent and drop the ref that was added through
that call.
2005-10-26 10:38:18 +00:00