Commit graph

948 commits

Author SHA1 Message Date
Wim Taymans
d94e691bee gst/flx/gstflxdec.c: Fix state change.
Original commit message from CVS:
* gst/flx/gstflxdec.c: (gst_flxdec_change_state):
Fix state change.
2005-11-16 17:00:32 +00:00
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
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
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
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
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
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
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
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
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
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
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
Thomas Vander Stichele
60f30e3083 fix compilation
Original commit message from CVS:
fix compilation
2005-10-26 10:03:02 +00:00
Flavio Oliveira
0f4689cdf4 Just removed a couple of lines of weird code used during development/test time.
Original commit message from CVS:
Just removed a couple of lines of weird code used during development/test time.
2005-10-25 21:09:36 +00:00
Flavio Oliveira
c12772c616 G711 payloader and depayloader created by Edgard Lima (it supports mulaw and alaw (dec)encoders)
Original commit message from CVS:
G711 payloader and depayloader created by Edgard Lima (it supports
mulaw and alaw (dec)encoders)
2005-10-25 19:19:38 +00:00
Julien Moutte
cfea44dba3 gst/videobox/gstvideobox.c: Doh ! I introduced wingo's bug again ! Sorry...
Original commit message from CVS:
2005-10-25  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):
Doh ! I introduced wingo's bug again ! Sorry...
2005-10-25 17:55:19 +00:00
Christian Schaller
443f60a91b add missing header files for disting
Original commit message from CVS:
add missing header files for disting
2005-10-25 16:02:38 +00:00
Zeeshan Ali
240bea7417 Getting the GSM (de)payloader working and compatible with our plans for RTP.
Original commit message from CVS:
Getting the GSM (de)payloader working and compatible with our plans for RTP.
2005-10-25 15:07:02 +00:00
Christian Schaller
4f40e2e01e fix mistaken claim on GPL, its LGPL
Original commit message from CVS:
fix mistaken claim on GPL, its LGPL
2005-10-25 13:03:04 +00:00
Wim Taymans
8417929e1a gst/rtp/: Added two new payloaders, an RFC 2190 payloader for h263 and a payload convertor for an asterisk server.
Original commit message from CVS:
* gst/rtp/Makefile.am:
* gst/rtp/gstasteriskh263.c: (gst_asteriskh263_get_type),
(gst_asteriskh263_base_init), (gst_asteriskh263_class_init),
(gst_asteriskh263_init), (gst_asteriskh263_finalize),
(gst_asteriskh263_chain), (gst_asteriskh263_set_property),
(gst_asteriskh263_get_property), (gst_asteriskh263_change_state),
(gst_asteriskh263_plugin_init):
* gst/rtp/gstasteriskh263.h:
* gst/rtp/gstrtp.c: (plugin_init):
* gst/rtp/gstrtph263enc.c: (gst_rtph263enc_get_type),
(gst_rtph263enc_base_init), (gst_rtph263enc_class_init),
(gst_rtph263enc_init), (gst_rtph263enc_finalize),
(gst_rtph263enc_setcaps), (gst_rtph263enc_gobfiner),
(gst_rtph263enc_flush), (gst_rtph263enc_handle_buffer),
(gst_rtph263enc_plugin_init):
* gst/rtp/gstrtph263enc.h:
Added two new payloaders, an RFC 2190 payloader for h263 and
a payload convertor for an asterisk server.
2005-10-24 16:39:38 +00:00
Julien Moutte
0f96fd6df1 gst/videomixer/videomixer.c: Don't restrict video geometry from 16 to 4096.
Original commit message from CVS:
2005-10-24  Julien MOUTTE  <julien@moutte.net>

* gst/videomixer/videomixer.c: Don't restrict video geometry
from 16 to 4096.
2005-10-24 13:46:09 +00:00
Julien Moutte
70b4bda644 gst/videobox/gstvideobox.c: Fix caps negotiation correctly, add debugging category.
Original commit message from CVS:
2005-10-24  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):
Fix caps negotiation correctly, add debugging category.
2005-10-24 13:22:14 +00:00
Thomas Vander Stichele
d006b0680f STOPPED->FAILED
Original commit message from CVS:
STOPPED->FAILED
2005-10-23 11:07:10 +00:00
Tim-Philipp Müller
512eb8ab25 ext/speex/gstspeexenc.c: Add position and duration query, fix query type function.
Original commit message from CVS:
* ext/speex/gstspeexenc.c: (gst_speexenc_get_query_types),
(gst_speexenc_src_query):
Add position and duration query, fix query type function.
* gst/matroska/matroska-demux.c: (gst_matroska_demux_add_stream),
(gst_matroska_demux_video_caps), (gst_matroska_demux_audio_caps):
Let's not set non-fixed caps on source pads.
2005-10-21 17:00:58 +00:00
Wim Taymans
bee54790e7 Set correct stream_time in newsegment event. avi can also handle a duration query now.
Original commit message from CVS:
* ext/dv/gstdvdemux.c: (gst_dvdemux_demux_frame):
* gst/avi/gstavidemux.c: (gst_avi_demux_get_src_query_types),
(gst_avi_demux_handle_seek):
Set correct stream_time in newsegment event.
avi can also handle a duration query now.
2005-10-21 16:15:57 +00:00
Tim-Philipp Müller
a7e0b7d6b5 gst/matroska/matroska-demux.c: Fix duration query; fix basetime in newsegment event after seek; fix duration in initi...
Original commit message from CVS:
* gst/matroska/matroska-demux.c:
(gst_matroska_demux_handle_src_query),
(gst_matroska_demux_handle_seek_event),
(gst_matroska_demux_loop_stream_parse_id):
Fix duration query; fix basetime in newsegment event after
seek; fix duration in initial newsegment event.
* gst/matroska/matroska-mux.c:
(gst_matroska_mux_audio_pad_setcaps), (gst_matroska_mux_start):
Extract number of channels and samplerate from vorbis headers;
add some debug messages when querying the durations of the
input streams.
2005-10-20 19:14:27 +00:00
Wim Taymans
57bcc588e4 gst/wavparse/gstwavparse.c: Set stream time correctly in newsegment.
Original commit message from CVS:
* gst/wavparse/gstwavparse.c: (gst_wavparse_handle_seek),
(gst_wavparse_stream_headers), (gst_wavparse_stream_data),
(gst_wavparse_pad_convert), (gst_wavparse_srcpad_event):
Set stream time correctly in newsegment.
2005-10-20 11:50:53 +00:00