Commit graph

77 commits

Author SHA1 Message Date
Wim Taymans
8a51401ef6 close #333784 unref the result of gst_pad_get_parent() by: Christophe Fergeau.
Original commit message from CVS:
* ext/cairo/gsttextoverlay.c: (gst_text_overlay_setcaps):
* ext/esd/esdmon.c: (gst_esdmon_get):
* ext/flac/gstflactag.c: (gst_flac_tag_chain):
* ext/gdk_pixbuf/gstgdkpixbuf.c: (gst_gdk_pixbuf_sink_setcaps),
(gst_gdk_pixbuf_sink_getcaps):
* ext/jpeg/gstjpegenc.c: (gst_jpegenc_getcaps),
(gst_jpegenc_setcaps):
* ext/jpeg/gstsmokedec.c: (gst_smokedec_chain):
* ext/jpeg/gstsmokeenc.c: (gst_smokeenc_getcaps),
(gst_smokeenc_setcaps):
* ext/libmng/gstmngdec.c: (gst_mngdec_sinklink),
(gst_mngdec_src_getcaps):
* ext/libmng/gstmngenc.c: (gst_mngenc_sinklink),
(gst_mngenc_chain):
* ext/libpng/gstpngenc.c: (gst_pngenc_setcaps):
* ext/mikmod/gstmikmod.c: (gst_mikmod_srclink):
* ext/speex/gstspeexdec.c: (speex_dec_convert),
(speex_dec_src_event), (speex_dec_chain):
* gst/avi/gstavimux.c: (gst_avimux_vidsinkconnect),
(gst_avimux_audsinkconnect), (gst_avimux_handle_event):
* gst/debug/negotiation.c: (gst_negotiation_getcaps),
(gst_negotiation_pad_link), (gst_negotiation_chain):
* gst/flx/gstflxdec.c: (gst_flxdec_src_query_handler),
(gst_flxdec_chain):
* gst/interleave/deinterleave.c: (deinterleave_sink_link),
(deinterleave_chain):
* gst/law/mulaw-encode.c: (mulawenc_setcaps):
* gst/median/gstmedian.c: (gst_median_link):
* gst/monoscope/gstmonoscope.c: (gst_monoscope_srcconnect),
(gst_monoscope_chain):
* gst/rtp/gstrtpL16pay.c: (gst_rtpL16pay_sinkconnect):
* gst/wavenc/gstwavenc.c: (gst_wavenc_sink_setcaps):
* sys/osxaudio/gstosxaudiosink.c: (gst_osxaudiosink_chain):
* sys/osxaudio/gstosxaudiosrc.c: (gst_osxaudiosrc_get):
close #333784 unref the result of gst_pad_get_parent()
by: Christophe Fergeau.
2006-03-13 15:49:08 +00:00
Jan Schmidt
11c39abc9a More fractional framerate conversions
Original commit message from CVS:
* ext/cairo/gsttextoverlay.c: (gst_text_overlay_init),
(gst_text_overlay_setcaps), (gst_text_overlay_collected):
* ext/cairo/gsttextoverlay.h:
* ext/gdk_pixbuf/gstgdkpixbuf.c: (gst_gdk_pixbuf_sink_link):
* ext/gdk_pixbuf/gstgdkpixbuf.h:
* ext/libpng/gstpngdec.c: (gst_pngdec_init),
(gst_pngdec_caps_create_and_set):
* ext/libpng/gstpngdec.h:
* ext/libpng/gstpngenc.c: (gst_pngenc_setcaps):
* gst/alpha/gstalphacolor.c: (gst_alpha_color_set_caps):
* gst/avi/gstavimux.c: (gst_avimux_init),
(gst_avimux_vidsinkconnect):
* gst/flx/gstflxdec.c: (gst_flxdec_chain):
* gst/goom/gstgoom.c: (gst_goom_init), (gst_goom_src_setcaps),
(gst_goom_src_negotiate), (gst_goom_chain):
* gst/goom/gstgoom.h:
* gst/matroska/matroska-demux.c: (gst_matroska_demux_video_caps):
* gst/matroska/matroska-mux.c:
(gst_matroska_mux_video_pad_setcaps):
* sys/osxvideo/osxvideosink.h:
* sys/osxvideo/osxvideosink.m:
More fractional framerate conversions
2005-11-22 22:21:37 +00:00
Andy Wingo
8d223d75d0 Update for gst_tag_setter API changes.
Original commit message from CVS:
2005-11-22  Andy Wingo  <wingo@pobox.com>

* Update for gst_tag_setter API changes.
2005-11-22 12:38:33 +00:00
Stefan Kost
987ab4dd81 renamed GST_FLAGS macros to GST_OBJECT_FLAGS moved bitshift from macro to enum definition
Original commit message from CVS:
* examples/indexing/indexmpeg.c: (main):
* ext/esd/esdmon.c: (gst_esdmon_open_audio),
(gst_esdmon_close_audio), (gst_esdmon_change_state):
* ext/esd/esdmon.h:
* ext/gdk_pixbuf/gstgdkpixbuf.c: (gst_gdk_pixbuf_init):
* ext/pango/gsttextoverlay.c: (gst_textoverlay_init):
* gst/autodetect/gstautoaudiosink.c: (gst_auto_audio_sink_init):
* gst/autodetect/gstautovideosink.c: (gst_auto_video_sink_init):
* gst/avi/gstavimux.c: (gst_avimux_init):
* gst/matroska/matroska-demux.c: (gst_matroska_demux_init):
* gst/multipart/multipartdemux.c: (gst_multipart_demux_init):
* gst/multipart/multipartmux.c: (gst_multipart_mux_init):
* gst/oldcore/gstmultifilesrc.c: (gst_multifilesrc_init),
(gst_multifilesrc_get), (gst_multifilesrc_open_file),
(gst_multifilesrc_close_file), (gst_multifilesrc_change_state):
* gst/oldcore/gstmultifilesrc.h:
* gst/oldcore/gstpipefilter.c: (gst_pipefilter_init),
(gst_pipefilter_open_file), (gst_pipefilter_close_file),
(gst_pipefilter_change_state):
* gst/oldcore/gstpipefilter.h:
* gst/smoothwave/gstsmoothwave.c: (gst_smoothwave_init):
* gst/videomixer/videomixer.c: (gst_videomixer_init):
* sys/osxaudio/gstosxaudiosink.c: (gst_osxaudiosink_init):
* sys/osxaudio/gstosxaudiosink.h:
* sys/osxaudio/gstosxaudiosrc.h:
renamed GST_FLAGS macros to GST_OBJECT_FLAGS
moved bitshift from macro to enum definition
2005-10-12 14:29:43 +00:00
Andy Wingo
7ebd7b97d4 All plugins updated for element state changes.
Original commit message from CVS:
2005-09-02  Andy Wingo  <wingo@pobox.com>

* All plugins updated for element state changes.
2005-09-02 15:44:50 +00:00
Andy Wingo
d0e08534ce Way, way, way too many files: Remove crack comment from the 2000 era.
Original commit message from CVS:
2005-07-05  Andy Wingo  <wingo@pobox.com>

* Way, way, way too many files:
Remove crack comment from the 2000 era.
2005-07-05 10:51:49 +00:00
Ronald S. Bultje
1c3dc42d55 gst/avi/gstavimux.c: Fix...
Original commit message from CVS:
* gst/avi/gstavimux.c: (gst_avimux_write_tag),
(gst_avimux_riff_get_avi_header):
Fix...
2005-01-22 10:54:07 +00:00
Ronald S. Bultje
5006606231 gst/avi/gstavimux.c: Fix padding...
Original commit message from CVS:
* gst/avi/gstavimux.c: (gst_avimux_write_tag):
Fix padding...
2005-01-19 20:25:26 +00:00
Ronald S. Bultje
471c844eb5 ext/mad/gstmad.c: Fail if caps negotiation fails. Should fix #162184, and should definately be in there regardless of...
Original commit message from CVS:
* ext/mad/gstmad.c: (gst_mad_check_caps_reset), (gst_mad_chain):
Fail if caps negotiation fails. Should fix #162184, and should
definately be in there regardless of it fixing the actual bug.
* gst/avi/gstavimux.c: (gst_avimux_get_type), (gst_avimux_init),
(gst_avimux_write_tag), (gst_avimux_riff_get_avi_header),
(gst_avimux_riff_get_avix_header),
(gst_avimux_riff_get_video_header),
(gst_avimux_riff_get_audio_header), (gst_avimux_write_index),
(gst_avimux_start_file), (gst_avimux_handle_event),
(gst_avimux_change_state):
* gst/avi/gstavimux.h:
Refactor structure writing to use GST_WRITE_UINT macros, add
metadata writing support.
2005-01-19 11:01:09 +00:00
Ronald S. Bultje
46ed1fae90 gst/avi/gstavimux.c: Free events (fix memleak in #162905).
Original commit message from CVS:
* gst/avi/gstavimux.c: (gst_avimux_handle_event):
Free events (fix memleak in #162905).
2005-01-16 10:08:12 +00:00
Ronald S. Bultje
3b12894436 gst/avi/gstavimux.c: Reusability fixes.
Original commit message from CVS:
* gst/avi/gstavimux.c: (gst_avimux_class_init),
(gst_avimux_pad_unlink), (gst_avimux_release_pad):
Reusability fixes.
2005-01-11 16:52:47 +00:00
Stéphane Loeuillet
6bb25dba0b forgot to add h264 to avidemux caps
Original commit message from CVS:
forgot to add h264 to avidemux caps
2004-12-13 12:18:07 +00:00
Ronald S. Bultje
1672e83d26 gst/avi/gstavimux.c: First calculate the rate, and only then use it. Hdr.rate is a multiple and not a derivative of h...
Original commit message from CVS:
* gst/avi/gstavimux.c: (gst_avimux_audsinkconnect),
(gst_avimux_stop_file):
First calculate the rate, and only then use it. Hdr.rate is a
multiple and not a derivative of hdr.scale. Scale is not the
same as blockalign but is solely related to rate.
2004-10-26 11:22:07 +00:00
Ronald S. Bultje
7d1805fda4 gst/: Framerate.
Original commit message from CVS:
* gst/asfdemux/gstasfmux.c:
* gst/avi/gstavimux.c:
Framerate.
2004-10-24 21:22:07 +00:00
Stéphane Loeuillet
ec8a1bb76c first batch : remove ',' at end of enums as they could confuse older gcc, foreign compilers (forte) and gtk-doc
Original commit message from CVS:

first batch :
remove ',' at end of enums as they could confuse older gcc, foreign compilers (forte) and gtk-doc
2004-05-21 22:39:30 +00:00
David Schleef
9414aca1c5 common/m4/gst-feature.m4: Call -config scripts with
Original commit message from CVS:
* common/m4/gst-feature.m4: Call -config scripts with
--plugin-libs if it is supported.
* gst/avi/gstavimux.c: (gst_avimux_vidsinkconnect): sequences of
JPEG images are image/jpeg.
* gst/debug/Makefile.am:
* gst/debug/negotiation.c: (gst_negotiation_class_init),
(gst_negotiation_getcaps), (gst_negotiation_pad_link),
(gst_negotiation_update_caps), (gst_negotiation_get_property),
(gst_negotiation_plugin_init): Add a property that acts like
filter caps.
* testsuite/gst-lint:  Move license checking to be a standard
test.
2004-04-13 23:25:19 +00:00
Thomas Vander Stichele
6cc1c73d2b don't mix tabs and spaces
Original commit message from CVS:
don't mix tabs and spaces
2004-03-15 19:32:27 +00:00
Thomas Vander Stichele
5d25c00e4b gst-indent
Original commit message from CVS:
gst-indent
2004-03-14 22:34:33 +00:00
Thomas Vander Stichele
79bc3ebfa1 change NULL to (NULL) for GST_ELEMENT_ERROR
Original commit message from CVS:
change NULL to (NULL) for GST_ELEMENT_ERROR
Make sure errors end with "."
2004-02-02 17:23:33 +00:00
Thomas Vander Stichele
51e5863a97 GST_ELEMENT_ERROR
Original commit message from CVS:
GST_ELEMENT_ERROR
2004-01-29 23:20:45 +00:00
Thomas Vander Stichele
8fd7df0cb5 fix i18n include
Original commit message from CVS:
fix i18n include
2004-01-19 13:50:39 +00:00
Thomas Vander Stichele
3b0cf935f6 use new error signal and classification
Original commit message from CVS:
use new error signal and classification
2004-01-18 21:46:58 +00:00
Ronald S. Bultje
6ac4353319 Fix for instantiate-test (see core). Also remove dead code from jpegenc (which still needs fixing, but that's lower o...
Original commit message from CVS:
2004-01-07  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* ext/audiofile/gstafsink.c: (gst_afsink_init), (gst_afsink_chain),
(gst_afsink_handle_event):
* ext/jpeg/gstjpegenc.c: (gst_jpegenc_init):
* gst/avi/gstavimux.c: (gst_avimux_request_new_pad):
* sys/dxr3/dxr3audiosink.c: (dxr3audiosink_init):
* sys/dxr3/dxr3spusink.c: (dxr3spusink_init):
* sys/dxr3/dxr3videosink.c: (dxr3videosink_init):
Fix for instantiate-test (see core). Also remove dead code from
jpegenc (which still needs fixing, but that's lower on my TODO
list...).
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_getcaps):
Never return NULL as caps.
2004-01-07 13:18:08 +00:00
David Schleef
ce51f6173c Merge CAPS branch
Original commit message from CVS:
Merge CAPS branch
2003-12-22 01:47:09 +00:00
David Schleef
f1d94660c5 Change everyone to video/x-msvideo
Original commit message from CVS:
Change everyone to video/x-msvideo
2003-11-27 21:49:39 +00:00
Ronald S. Bultje
ef93dc47b4 Since padtemplates are now owned by the class, we should use the class function to retrieve them for comparison
Original commit message from CVS:
Since padtemplates are now owned by the class, we should use the class function to retrieve them for comparison
2003-11-09 13:48:36 +00:00
Ronald S. Bultje
5621eae1c5 Remove all config.h includes from header files, add it to each source file and remove duplicate config.h includes fro...
Original commit message from CVS:
Remove all config.h includes from header files, add it to each source file and remove duplicate config.h includes from several source files
2003-11-07 12:47:01 +00:00
David Schleef
69277f05a7 Merge plugins. Update to new plugin init code
Original commit message from CVS:
Merge plugins.  Update to new plugin init code
2003-11-01 02:07:52 +00:00
Ronald S. Bultje
c5c78205bc Remove can_seek () because eventmasks was removed from sink pads - grrr
Original commit message from CVS:
Remove can_seek () because eventmasks was removed from sink pads - grrr
2003-10-09 22:11:53 +00:00
Andy Wingo
f2d5cae8da /GstBuffer/GstData/ in the API where you can pass events. Fix the plugins to deal with that. Fixes #113488.
Original commit message from CVS:
/GstBuffer/GstData/ in the API where you can pass events. Fix the plugins to deal with that. Fixes #113488.
2003-10-08 16:08:18 +00:00
Ronald S. Bultje
51e244fe4a Set keyframe flag only when it is a keyframe. This will break quite some formats because many encoders dont set this ...
Original commit message from CVS:
Set keyframe flag only when it is a keyframe. This will break quite some formats because many encoders dont set this flag correctly, but I'll fix that as I encounter them. divx5 works correctly now. ;).
2003-09-30 21:06:43 +00:00
Thomas Vander Stichele
54b0fe0f94 reverting error patch before making a branch.
Original commit message from CVS:
reverting error patch before making a branch.
2003-09-16 10:00:02 +00:00
Benjamin Otte
2cefb50429 converted gst_element_error to new format in gst/ - gettext pending
Original commit message from CVS:
converted gst_element_error to new format in gst/ - gettext pending
2003-09-15 00:34:47 +00:00
Ronald S. Bultje
f04b1b7858 Check for seekability and use gst_pad_push() instead of gst_pad_send_event()
Original commit message from CVS:
Check for seekability and use gst_pad_push() instead of gst_pad_send_event()
2003-09-12 11:39:29 +00:00
Ronald S. Bultje
d43be4033e Fix a warning
Original commit message from CVS:
Fix a warning
2003-07-22 21:07:46 +00:00
Ronald S. Bultje
6f35e4fcbe improve index offset calculation, fix some minor other issues and make avimux actually work with mp3 audio
Original commit message from CVS:
Fix padding (2 bytes instead of 4), improve index offset calculation, fix some minor other issues and make avimux actually work with mp3 audio
2003-07-22 20:55:08 +00:00
Ronald S. Bultje
292fec2a0b New mimetypes gone into effect today - this commit changes all old mimetypes over to the new mimetypes spec as descri...
Original commit message from CVS:
New mimetypes gone into effect today - this commit changes all old mimetypes over to the new mimetypes spec as described in the previous commit's document. Note: some plugins will break, some pipelines will break, expect HEAD to be broken or at least not 100% working for a few days, but don't forget to report bugs
2003-07-06 20:49:52 +00:00
Benjamin Otte
90da904f1e compatibility fix for new GST_DEBUG stuff.
Original commit message from CVS:
compatibility fix for new GST_DEBUG stuff.
Includes fixes for missing includes for config.h and unistd.h

I only ensured for plugins I can build that they work, so if some of them are still broken, you gotta fix them yourselves unfortunately.
2003-06-29 19:46:12 +00:00
Ronald S. Bultje
2a0cef0c8b Actually push the event over to the next element instead of leaving it into eternity - thanks for Joshua for detecting
Original commit message from CVS:
Actually push the event over to the next element instead of leaving it into eternity - thanks for Joshua for detecting
2003-06-07 00:19:56 +00:00
Ronald S. Bultje
186265276b Prevent warning
Original commit message from CVS:
Prevent warning
2003-06-01 13:28:46 +00:00
Ronald S. Bultje
d379242755 Oops
Original commit message from CVS:
Oops
2003-06-01 12:53:44 +00:00
Ronald S. Bultje
8bad3bd4ac This fixes avimux largely. Sound playback still isn't optimal, but at least we're getting somewhere
Original commit message from CVS:
This fixes avimux largely. Sound playback still isn't optimal, but at least we're getting somewhere
2003-06-01 12:23:46 +00:00
Ronald S. Bultje
04b611b88c Fix avimux (somewhat). Note: the EOS event still doesn't get through. This is completely braindead, I have no clue wh...
Original commit message from CVS:
Fix avimux (somewhat). Note: the EOS event still doesn't get through. This is completely braindead, I have no clue why, but setting this thing to PAUSE should do the trick too. EOS fix will come later on...
2003-05-30 23:05:29 +00:00
Ronald S. Bultje
01d4e568c6 Hm, one more little endian fix
Original commit message from CVS:
Hm, one more little endian fix
2003-05-14 22:04:20 +00:00
Ronald S. Bultje
5a77a54a5a PCM data in AVI is always little endian
Original commit message from CVS:
PCM data in AVI is always little endian
2003-05-14 21:59:18 +00:00
Benjamin Otte
f49ab8e25e we do not destroy anything anymore. Not even unwanted pads
Original commit message from CVS:
we do not destroy anything anymore. Not even unwanted pads
2003-04-15 17:11:42 +00:00
Ronald S. Bultje
85f9831b2f add some extra checking on validity of pads before using them
Original commit message from CVS:
add some extra checking on validity of pads before using them
2003-01-31 23:42:58 +00:00
Ronald S. Bultje
b0e9998114 DOH! (yes, I'm a moron)
Original commit message from CVS:
DOH! (yes, I'm a moron)
2003-01-28 20:02:14 +00:00
Ronald S. Bultje
0eb4d2208e Someone forgot to fix this connect->link thingy - can this go into 0.6.0 please?
Original commit message from CVS:
Someone forgot to fix this connect->link thingy - can this go into 0.6.0 please?
2003-01-26 16:25:59 +00:00
Thomas Vander Stichele
c2a01f482c PadConnect -> PadLink
Original commit message from CVS:
PadConnect -> PadLink
2003-01-10 13:38:32 +00:00