Benjamin Otte [Sun, 4 Apr 2004 23:31:07 +0000 (23:31 +0000)]
configure.ac: fix --export-symblos-regex to a working regex.
Original commit message from CVS:
* configure.ac:
fix --export-symblos-regex to a working regex.
David Schleef [Sat, 3 Apr 2004 22:35:30 +0000 (22:35 +0000)]
ext/ffmpeg/gstffmpegdemux.c: Fix memleaks (bug #138985)
Original commit message from CVS:
reviewed by: David Schleef <ds@schleef.org>
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register): Fix
memleaks (bug #138985)
Thomas Vander Stichele [Mon, 29 Mar 2004 16:39:18 +0000 (16:39 +0000)]
indent
Original commit message from CVS:
indent
Ronald S. Bultje [Thu, 25 Mar 2004 05:14:10 +0000 (05:14 +0000)]
ext/ffmpeg/: Fix category.
Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_base_init):
* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_base_init):
Fix category.
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_class_init),
(gst_ffmpegdemux_init), (gst_ffmpegdemux_close):
Slightly rewrite the init function, old one was ugly. Also remove
dispose function since it's obsolete, the change_state function
cleans up already. Also fixes segfault in test-app
gstreamer/tests/instantiate/create
Benjamin Otte [Wed, 24 Mar 2004 21:36:50 +0000 (21:36 +0000)]
configure.ac: only export gst* symbols
Original commit message from CVS:
* configure.ac:
only export gst* symbols
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain):
change g_warning to debugging message, that wasn't a programming
error
Thomas Vander Stichele [Thu, 18 Mar 2004 12:55:38 +0000 (12:55 +0000)]
don't critical (#137588)
Original commit message from CVS:
don't critical (#137588)
Thomas Vander Stichele [Wed, 17 Mar 2004 10:45:50 +0000 (10:45 +0000)]
use release.mak
Original commit message from CVS:
use release.mak
Thomas Vander Stichele [Tue, 16 Mar 2004 13:15:07 +0000 (13:15 +0000)]
bump nano to 1
Original commit message from CVS:
bump nano to 1
Thomas Vander Stichele [Tue, 16 Mar 2004 13:09:23 +0000 (13:09 +0000)]
releasing
Original commit message from CVS:
releasing
Thomas Vander Stichele [Tue, 16 Mar 2004 09:51:35 +0000 (09:51 +0000)]
remove nonexisting configure options
Original commit message from CVS:
remove nonexisting configure options
Thomas Vander Stichele [Mon, 15 Mar 2004 18:55:43 +0000 (18:55 +0000)]
remove the configure that keeps conflicting
Original commit message from CVS:
remove the configure that keeps conflicting
Thomas Vander Stichele [Mon, 15 Mar 2004 17:36:22 +0000 (17:36 +0000)]
work on ppc
Original commit message from CVS:
work on ppc
Thomas Vander Stichele [Mon, 15 Mar 2004 15:42:44 +0000 (15:42 +0000)]
change static name
Original commit message from CVS:
change static name
Thomas Vander Stichele [Mon, 15 Mar 2004 12:41:17 +0000 (12:41 +0000)]
fix aclocal; ignore configure
Original commit message from CVS:
fix aclocal; ignore configure
Thomas Vander Stichele [Mon, 15 Mar 2004 12:36:34 +0000 (12:36 +0000)]
adding vorbis.m4
Original commit message from CVS:
adding vorbis.m4
Thomas Vander Stichele [Mon, 15 Mar 2004 12:29:18 +0000 (12:29 +0000)]
commiting ogg.m4 to autotools.patch
Original commit message from CVS:
commiting ogg.m4 to autotools.patch
Thomas Vander Stichele [Mon, 15 Mar 2004 12:00:17 +0000 (12:00 +0000)]
make sure -I m4 gets done correctly
Original commit message from CVS:
make sure -I m4 gets done correctly
Thomas Vander Stichele [Mon, 15 Mar 2004 11:53:51 +0000 (11:53 +0000)]
fix underquotedness, add freetype2.m4
Original commit message from CVS:
fix underquotedness, add freetype2.m4
Thomas Vander Stichele [Mon, 15 Mar 2004 11:43:15 +0000 (11:43 +0000)]
adding sdl.m4 and imlib.m4 to autotools.patch
Original commit message from CVS:
adding sdl.m4 and imlib.m4 to autotools.patch
Thomas Vander Stichele [Mon, 15 Mar 2004 11:37:37 +0000 (11:37 +0000)]
fixing autotools and noinst-programs patches
Original commit message from CVS:
fixing autotools and noinst-programs patches
Ronald S. Bultje [Mon, 15 Mar 2004 00:01:03 +0000 (00:01 +0000)]
ext/ffmpeg/: Add encode property to codec mapper, so we can get better-fitting caps. Also use this everywhere. ;). La...
Original commit message from CVS:
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps):
* ext/ffmpeg/gstffmpegcodecmap.h:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain),
(gst_ffmpegdec_register):
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_add),
(gst_ffmpegdemux_register):
* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_connect),
(gst_ffmpegenc_register):
* ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_register):
Add encode property to codec mapper, so we can get better-fitting
caps. Also use this everywhere. ;). Lastly, add some new codecIDs
to our list of recognized ones.
Thomas Vander Stichele [Fri, 12 Mar 2004 19:09:29 +0000 (19:09 +0000)]
remove borked checkouts
Original commit message from CVS:
remove borked checkouts
Thomas Vander Stichele [Fri, 12 Mar 2004 18:53:26 +0000 (18:53 +0000)]
don't install programs
Original commit message from CVS:
don't install programs
Thomas Vander Stichele [Fri, 12 Mar 2004 18:48:46 +0000 (18:48 +0000)]
build ffplay so we can use it to test stuff
Original commit message from CVS:
build ffplay so we can use it to test stuff
Thomas Vander Stichele [Fri, 12 Mar 2004 10:45:41 +0000 (10:45 +0000)]
add m4 dir
Original commit message from CVS:
add m4 dir
Thomas Vander Stichele [Fri, 12 Mar 2004 10:35:59 +0000 (10:35 +0000)]
remove imlib
Original commit message from CVS:
remove imlib
Thomas Vander Stichele [Fri, 12 Mar 2004 10:18:31 +0000 (10:18 +0000)]
add hacking notes
Original commit message from CVS:
add hacking notes
Thomas Vander Stichele [Thu, 11 Mar 2004 18:21:34 +0000 (18:21 +0000)]
alright ! ready to test.
Original commit message from CVS:
alright ! ready to test.
need to write up how to manage the source now though
Thomas Vander Stichele [Thu, 11 Mar 2004 18:18:36 +0000 (18:18 +0000)]
this actually seems to work well
Original commit message from CVS:
this actually seems to work well
David Schleef [Wed, 10 Mar 2004 20:39:27 +0000 (20:39 +0000)]
gst-libs/ext/ffmpeg/patch/asm.diff: Add a patch that decreases register usage. (bug #136658)
Original commit message from CVS:
* gst-libs/ext/ffmpeg/patch/asm.diff: Add a patch that
decreases register usage. (bug #136658)
David Schleef [Wed, 10 Mar 2004 18:52:29 +0000 (18:52 +0000)]
configure.ac: bump gstreamer API number to 0.8
Original commit message from CVS:
* configure.ac: bump gstreamer API number to 0.8
Ronald S. Bultje [Tue, 9 Mar 2004 07:56:40 +0000 (07:56 +0000)]
ext/ffmpeg/Makefile.am: Prevent more symbol conflicts...
Original commit message from CVS:
* ext/ffmpeg/Makefile.am:
Prevent more symbol conflicts...
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_register):
Up priority/rank for MPEG-4 decoder. Reason is simple: it's well-
tested and by far outperforms xviddec/divxdec. They'll get some
other, slightly lower, rank.
* gst-libs/ext/ffmpeg/patch/autotools.diff:
Tweaking...
* gst-libs/ext/ffmpeg/patch/disableinstalllibs.diff:
Prevent more symbol conflicts. I changed this (to pass 'make
distcheck') in the one patch, so need to change it here too.
* gst-libs/ext/ffmpeg/patch/disablemmx.diff:
Re-enable MMX. :).
* gst-libs/ext/ffmpeg/patch/functions.diff:
Bla.
Ronald S. Bultje [Tue, 9 Mar 2004 06:15:35 +0000 (06:15 +0000)]
configure.ac: Patch properly. Update version.
Original commit message from CVS:
* configure.ac:
Patch properly. Update version.
* gst-libs/ext/ffmpeg/Makefile.am:
Comment out patching - all handled by configure.
* gst-libs/ext/ffmpeg/Tag:
Update version.
* gst-libs/ext/ffmpeg/patch/autotools.diff:
Some small updates to improve compiling.
* gst-libs/ext/ffmpeg/patch/functions.diff:
Update date.
* gst-libs/ext/ffmpeg/patch/matroska.diff:
Newer patch - see ffmpeg-devel mailinglists.
* gst-libs/ext/ffmpeg/patch/function.patch:
Remove old cruft.
* gst-libs/ext/ffmpeg/patch/disabletools.diff:
Now handled by --disable-... in configure.
David Schleef [Sun, 7 Mar 2004 22:02:15 +0000 (22:02 +0000)]
ext/ffmpeg/gstffmpegcodecmap.c: Add cinepak format. (bug #136470)
Original commit message from CVS:
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps):
Add cinepak format. (bug #136470)
David Schleef [Sat, 6 Mar 2004 04:30:22 +0000 (04:30 +0000)]
configure.ac: Call ffmpeg's configure with --disable-v4l,
Original commit message from CVS:
* configure.ac: Call ffmpeg's configure with --disable-v4l,
--disable-oss-audio, --disable-dv1394 (bug #127873)
Ronald S. Bultje [Fri, 5 Mar 2004 02:40:34 +0000 (02:40 +0000)]
ext/ffmpeg/gstffmpegcodecmap.c: Fix quicktime type recognition in ffmpeg. We returned a bogus caps, which caused ffde...
Original commit message from CVS:
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_formatid_to_caps):
Fix quicktime type recognition in ffmpeg. We returned a bogus
caps, which caused ffdemux_quicktime to be chosen over qtdemux.
This fixes that.
Ronald S. Bultje [Thu, 4 Mar 2004 13:21:53 +0000 (13:21 +0000)]
configure.ac: Brackets cause autoconf errors. So remove them.
Original commit message from CVS:
* configure.ac:
Brackets cause autoconf errors. So remove them.
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_add):
Actually use the event/convert/query functions. D'oh.
Ronald S. Bultje [Wed, 3 Mar 2004 01:54:18 +0000 (01:54 +0000)]
Slightly change the way we set this up. Ugly, but now it works again. This baby is looking for a proper fix.
Original commit message from CVS:
* configure.ac:
* gst-libs/ext/ffmpeg/Makefile.am:
Slightly change the way we set this up. Ugly, but now it works
again. This baby is looking for a proper fix.
* gst-libs/ext/ffmpeg/Tag:
Apparently CVS and me disagree on the tag... Ohwell, CVS wins.
* gst-libs/ext/ffmpeg/patch/autotools.diff:
* gst-libs/ext/ffmpeg/patch/disableinstalllibs.diff:
Slight nag on a link between lavf/lavc in ffmpeg. Not really
important for us since the code is the same in the end, but this
is actually correct from a per-patch point-of-view...
Ronald S. Bultje [Wed, 3 Mar 2004 01:21:16 +0000 (01:21 +0000)]
gst-libs/ext/ffmpeg/Makefile.am: Fix patching.
Original commit message from CVS:
* gst-libs/ext/ffmpeg/Makefile.am:
Fix patching.
Ronald S. Bultje [Tue, 2 Mar 2004 02:30:04 +0000 (02:30 +0000)]
ext/ffmpeg/gstffmpegdec.c: Fix B-frame DivX5/XviD display by removing the truncated flag when not needed.
Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_connect):
Fix B-frame DivX5/XviD display by removing the truncated flag when
not needed.
* gst-libs/ext/ffmpeg/patch/autotools.diff:
Remove link to libavcodec - it causes symbol conflicts (why?).
Ronald S. Bultje [Mon, 1 Mar 2004 04:59:17 +0000 (04:59 +0000)]
HACKING: Add some basic documentation on how our wrapping works.
Original commit message from CVS:
* HACKING:
Add some basic documentation on how our wrapping works.
* TODO:
Add a list of things that could be worked on or that need doing.
* configure.ac:
Update snapshot.
* ext/ffmpeg/Makefile.am:
Changne .la links. See below (autotools patch).
* ext/ffmpeg/gstffmpeg.c: (plugin_init):
Enable demuxers. See below (gstffmpegdemux.c).
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_formatid_to_caps):
Realmedia caused a crash - fix that.
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_averror),
(gst_ffmpegdemux_base_init), (gst_ffmpegdemux_init),
(gst_ffmpegdemux_close), (gst_ffmpegdemux_dispose),
(gst_ffmpegdemux_stream_from_pad),
(gst_ffmpegdemux_src_event_mask), (gst_ffmpegdemux_src_event),
(gst_ffmpegdemux_src_format_list),
(gst_ffmpegdemux_src_query_list), (gst_ffmpegdemux_src_query),
(gst_ffmpegdemux_src_convert), (gst_ffmpegdemux_add),
(gst_ffmpegdemux_open), (gst_ffmpegdemux_loop),
(gst_ffmpegdemux_change_state), (gst_ffmpegdemux_register):
Right. OK, so I fixed up the demuxing and have it basically-working,
and the best way to get some more people to test it is to actually
enable it. I'm not sure if we want this for 0.8.0, but we can at
least give it a try. I've tested avi, matroska and mpeg, all appear
to work. The cool thing is that this gives us instant support for
several exotic formats that we'd never care about ourselves. Again,
this needs more testing for it to still be enabled in 0.8.0, but I
want to give it a try...
* ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_base_init),
(gst_ffmpegmux_init), (gst_ffmpegmux_request_new_pad),
(gst_ffmpegmux_connect), (gst_ffmpegmux_loop),
(gst_ffmpegmux_register):
Add some fixups that I use locally. Make it work in the case of
MPEG encoding, but the muxer is still not in shape to be enabled.
* ext/ffmpeg/gstffmpegprotocol.c: (gst_ffmpegdata_open),
(gst_ffmpegdata_read), (gst_ffmpegdata_write),
(gst_ffmpegdata_seek), (gst_ffmpegdata_close):
Some small fixups that crept into it while it was disabled for the
last few years. Basically works.
* gst-libs/ext/ffmpeg/Makefile.am:
Instead of having our local-autotoolized version, I patch the ffmpeg
source to be fully autotoolized. That means a simple SUBDIRS here
is now enough.
* gst-libs/ext/ffmpeg/Tag:
Version update.
* gst-libs/ext/ffmpeg/patch/autotools.diff:
Autotoolize ffmpeg. Needs to be sent to ffmpeg-devel@...
* gst-libs/ext/ffmpeg/patch/disableinstalllibs.diff:
Don't install their libs.
* gst-libs/ext/ffmpeg/patch/disablemmx.diff:
Don't use MMX. It cannot ocmpile using PIC.
* gst-libs/ext/ffmpeg/patch/disabletools.diff:
Don't compile/install their tools, we don't use them.
* gst-libs/ext/ffmpeg/patch/functions.diff:
Prevent symbol conflicts.
* gst-libs/ext/ffmpeg/patch/matroska.diff:
Add a matroska demuxer. Needs to be sent to ffmpeg-devel@...
Christian Schaller [Sat, 28 Feb 2004 15:22:18 +0000 (15:22 +0000)]
this works.
Original commit message from CVS:
this works.
Christian Schaller [Sat, 28 Feb 2004 12:30:08 +0000 (12:30 +0000)]
correct versioning
Original commit message from CVS:
correct versioning
Christian Schaller [Sat, 28 Feb 2004 12:27:08 +0000 (12:27 +0000)]
fix reqs
Original commit message from CVS:
fix reqs
Thomas Vander Stichele [Thu, 26 Feb 2004 18:21:44 +0000 (18:21 +0000)]
releasing
Original commit message from CVS:
releasing
Thomas Vander Stichele [Sat, 14 Feb 2004 14:01:15 +0000 (14:01 +0000)]
fix spec file
Original commit message from CVS:
fix spec file
Christian Schaller [Sat, 14 Feb 2004 11:48:04 +0000 (11:48 +0000)]
ignoring generated spec file
Original commit message from CVS:
ignoring generated spec file
Christian Schaller [Sat, 14 Feb 2004 11:47:27 +0000 (11:47 +0000)]
acctually adding spec file :)
Original commit message from CVS:
acctually adding spec file :)
Christian Schaller [Sat, 14 Feb 2004 11:46:48 +0000 (11:46 +0000)]
adding spec file
Original commit message from CVS:
adding spec file
Thomas Vander Stichele [Fri, 13 Feb 2004 14:32:52 +0000 (14:32 +0000)]
ignore files
Original commit message from CVS:
ignore files
Thomas Vander Stichele [Fri, 13 Feb 2004 13:22:27 +0000 (13:22 +0000)]
ffmpeg updates
Original commit message from CVS:
ffmpeg updates
Thomas Vander Stichele [Fri, 13 Feb 2004 13:04:54 +0000 (13:04 +0000)]
fixing up module
Original commit message from CVS:
fixing up module
Thomas Vander Stichele [Fri, 13 Feb 2004 13:00:18 +0000 (13:00 +0000)]
fix up gst-ffmpeg
Original commit message from CVS:
fix up gst-ffmpeg
Thomas Vander Stichele [Wed, 11 Feb 2004 17:44:11 +0000 (17:44 +0000)]
sync with upstream
Original commit message from CVS:
sync with upstream
Benjamin Otte [Wed, 11 Feb 2004 08:38:26 +0000 (08:38 +0000)]
ext/ffmpeg/: fix memleaks
Original commit message from CVS:
2004-02-11 Benjamin Otte <in7y118@public.uni-hamburg.de>
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_base_init):
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_base_init):
* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_base_init):
* ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_base_init):
fix memleaks
David Schleef [Wed, 4 Feb 2004 21:40:49 +0000 (21:40 +0000)]
Make sure set_explicit_caps() is called before adding pad.
Original commit message from CVS:
Make sure set_explicit_caps() is called before adding pad.
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_loop):
* gst/id3/gstid3types.c: (gst_id3types_loop):
* gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_parse_syshead):
* gst/realmedia/rmdemux.c: (gst_rmdemux_add_stream):
Jeremy Simon [Mon, 2 Feb 2004 22:37:33 +0000 (22:37 +0000)]
ext/ffmpeg/gstffmpegcodecmap.c: Fix SVQ3 caps flag properties
Original commit message from CVS:
2004-02-02 Jeremy Simon <jesimon@libertysurf.fr>
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
(gst_ffmpeg_caps_to_extradata):
Fix SVQ3 caps flag properties
Use glib macro for bytes swap
David Schleef [Mon, 2 Feb 2004 20:27:13 +0000 (20:27 +0000)]
Fix memory leaks:
Original commit message from CVS:
reviewed by: David Schleef <ds@schleef.org>
Fix memory leaks:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_register):
* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_register):
Thomas Vander Stichele [Mon, 2 Feb 2004 17:23:27 +0000 (17:23 +0000)]
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 "."
Benjamin Otte [Fri, 30 Jan 2004 03:51:03 +0000 (03:51 +0000)]
ext/ffmpeg/gstffmpegcodecmap.c: removee video/x-theora from vp3 decoder, it doesn't handle raw theora streams
Original commit message from CVS:
2004-01-30 Benjamin Otte <in7y118@public.uni-hamburg.de>
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps):
removee video/x-theora from vp3 decoder, it doesn't handle raw
theora streams
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_init):
fix bug with finalizing element that never went to PAUSED
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_src_query):
length and position queries were swapped
* ext/vorbis/vorbisdec.c: (gst_vorbis_dec_init),
(vorbis_dec_from_granulepos), (vorbis_dec_src_query),
(vorbis_dec_src_event):
implement querying time and bytes
Thomas Vander Stichele [Thu, 29 Jan 2004 23:20:39 +0000 (23:20 +0000)]
GST_ELEMENT_ERROR
Original commit message from CVS:
GST_ELEMENT_ERROR
Jeremy Simon [Mon, 26 Jan 2004 21:04:32 +0000 (21:04 +0000)]
ext/ffmpeg/gstffmpegcodecmap.c: Fix SVQ3 decoding on PPC
Original commit message from CVS:
2004-01-26 Jeremy Simon <jesimon@libertysurf.fr>
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_caps_to_extradata):
Fix SVQ3 decoding on PPC
Jeremy Simon [Mon, 26 Jan 2004 20:01:36 +0000 (20:01 +0000)]
Add SVQ3 specific flags to qtdemux and ffmpeg
Original commit message from CVS:
2004-01-26 Jeremy Simon <jesimon@libertysurf.fr>
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
(gst_ffmpeg_caps_to_extradata), (gst_ffmpeg_caps_to_pixfmt):
* gst/qtdemux/qtdemux.c: (plugin_init), (qtdemux_parse_trak),
(qtdemux_video_caps):
* gst/qtdemux/qtdemux.h:
Add SVQ3 specific flags to qtdemux and ffmpeg
Jeremy Simon [Tue, 20 Jan 2004 21:22:46 +0000 (21:22 +0000)]
ext/ffmpeg/gstffmpegcodecmap.c: Fix wma caps property
Original commit message from CVS:
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_caps_to_extradata):
Fix wma caps property
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_audio_caps):
Fix typo (flags1 and flags2)
Thomas Vander Stichele [Sun, 18 Jan 2004 21:46:52 +0000 (21:46 +0000)]
use new error signal and classification
Original commit message from CVS:
use new error signal and classification
David Schleef [Fri, 16 Jan 2004 19:54:16 +0000 (19:54 +0000)]
ext/ffmpeg/gstffmpegenc.c: Fix use of already-freed caps.
Original commit message from CVS:
* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_connect): Fix use of
already-freed caps.
Ronald S. Bultje [Fri, 16 Jan 2004 14:10:44 +0000 (14:10 +0000)]
ext/ffmpeg/gstffmpegenc.c: Link with right caps (else, it segfaults).
Original commit message from CVS:
2004-01-16 Ronald Bultje <rbultje@ronald.bitfreak.net>
* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_connect):
Link with right caps (else, it segfaults).
* ext/mplex/gstmplexjob.cc:
Fix for slight API change in 1.6.1.93 release of mjpegtools.
David Schleef [Mon, 12 Jan 2004 04:15:46 +0000 (04:15 +0000)]
Make sure everybody wraps #include "config.h" in #ifdef HAVE_CONFIG_H
Original commit message from CVS:
* ext/ffmpeg/gstffmpeg.c:
* ext/ffmpeg/gstffmpegcodecmap.c:
* ext/ffmpeg/gstffmpegdec.c:
* ext/ffmpeg/gstffmpegenc.c:
* ext/ffmpeg/gstffmpegprotocol.c:
* ext/gdk_pixbuf/gstgdkanimation.c:
* ext/jpeg/gstjpeg.c:
* ext/libpng/gstpng.c:
* ext/mpeg2dec/perftest.c:
* ext/speex/gstspeex.c:
* gst-libs/gst/resample/dtos.c:
* gst/intfloat/gstintfloatconvert.c:
* gst/oneton/gstoneton.c:
* gst/rtjpeg/RTjpeg.c:
* gst/rtp/gstrtp.c:
* sys/dxr3/dxr3init.c:
* sys/glsink/gstgl_nvimage.c:
* sys/glsink/gstgl_pdrimage.c:
* sys/glsink/gstglsink.c:
* testsuite/gst-lint:
Make sure everybody wraps #include "config.h" in #ifdef HAVE_CONFIG_H
Julien Moutte [Sun, 11 Jan 2004 22:52:28 +0000 (22:52 +0000)]
ext/ffmpeg/gstffmpegcolorspace.c: Fixing the pad_alloc_buffer implementation to use ->srcpad
Original commit message from CVS:
2004-01-11 Julien MOUTTE <julien@moutte.net>
* ext/ffmpeg/gstffmpegcolorspace.c: (gst_ffmpegcsp_chain): Fixing the
pad_alloc_buffer implementation to use ->srcpad
* ext/hermes/gstcolorspace.c: (gst_colorspace_chain): Fixing the
pad_alloc_buffer implementation to use ->srcpad
* gst/videoscale/gstvideoscale.c: (gst_videoscale_chain): Fixing the
pad_alloc_buffer implementation to use ->srcpad
* sys/ximage/ximagesink.c: (gst_ximagesink_ximage_new),
(gst_ximagesink_chain), (gst_ximagesink_buffer_free),
(gst_ximagesink_buffer_alloc): Now only use GST_BUFFER_PRIVATE to keep
a reference to everything we need.
* sys/ximage/ximagesink.h: adding a reference to the sink in the image.
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_xvimage_new),
(gst_xvimagesink_chain), (gst_xvimagesink_buffer_free),
(gst_xvimagesink_buffer_alloc): Now only use GST_BUFFER_PRIVATE to keep
a reference to everything we need.
* sys/xvimage/xvimagesink.h: adding a reference to the sink in the image
Benjamin Otte [Sun, 11 Jan 2004 04:51:47 +0000 (04:51 +0000)]
ext/ffmpeg/gstffmpegcodecmap.c: fix SVQ3 caps
Original commit message from CVS:
2004-01-11 Benjamin Otte <in7y118@public.uni-hamburg.de>
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps):
fix SVQ3 caps
Julien Moutte [Fri, 9 Jan 2004 18:05:56 +0000 (18:05 +0000)]
ext/ffmpeg/gstffmpegcolorspace.c: Implementing gst_pad_alloc_buffer to use optimized buffer allocation.
Original commit message from CVS:
* ext/ffmpeg/gstffmpegcolorspace.c: (gst_ffmpegcsp_chain):
Implementing gst_pad_alloc_buffer to use optimized buffer allocation.
* gst-libs/gst/xoverlay/xoverlay.c:
(gst_x_overlay_got_desired_size): Updating doc for the xid being 0.
* gst/videoscale/gstvideoscale.c: (gst_videoscale_chain):
Implementing gst_pad_alloc_buffer to use optimized buffer allocation.
* gst/videotestsrc/gstvideotestsrc.c: (gst_videotestsrc_get):
Implementing gst_pad_alloc_buffer to use optimized buffer allocation.
* sys/ximage/ximagesink.c: (gst_ximagesink_chain),
(gst_ximagesink_buffer_free), (gst_ximagesink_buffer_alloc),
(gst_ximagesink_set_xwindow_id), (gst_ximagesink_init): Implementing
the bufferalloc_function to replace bufferpools, fixing the XOverlay
interface implementation to handle xid being 0 and fix some bugs
triggered by Benjamin's testcase.
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_chain),
(gst_xvimagesink_buffer_free), (gst_xvimagesink_buffer_alloc),
(gst_xvimagesink_set_xwindow_id), (gst_xvimagesink_init): Implementing
the bufferalloc_function to replace bufferpools, fixing the XOverlay
interface implementation to handle xid being 0 and fix some bugs
triggered by Benjamin's testcase.
David Schleef [Fri, 9 Jan 2004 01:53:31 +0000 (01:53 +0000)]
ext/ffmpeg/gstffmpegenc.c: Fix pad_link function to handle formats that ffmpeg returns as multiple caps structures.
Original commit message from CVS:
* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_connect):
Fix pad_link function to handle formats that ffmpeg returns
as multiple caps structures.
* gst/videofilter/gstvideofilter.c: (gst_videofilter_chain):
Only complain if source buffer is _smaller_ than expected.
* gst/videoscale/gstvideoscale.c: (gst_videoscale_init),
(gst_videoscale_handle_src_event): Resize navigation events
when passing them upstream.
* gst/videotestsrc/gstvideotestsrc.c:
* gst/videotestsrc/gstvideotestsrc.h:
* gst/videotestsrc/videotestsrc.c:
* gst/videotestsrc/videotestsrc.h:
Rewrite many of the buffer painting functions to handle odd
sizes (for many formats, size%4!=0 or size%8!=0). Most have
been verified to work with my video card.
* testsuite/gst-lint: Add check for elements calling
gst_pad_get_caps() instead of gst_pad_get_allowed_caps().
David Schleef [Fri, 2 Jan 2004 23:42:14 +0000 (23:42 +0000)]
fix compiler warning
Original commit message from CVS:
fix compiler warning
David Schleef [Fri, 2 Jan 2004 23:11:41 +0000 (23:11 +0000)]
ext/ffmpeg/gstffmpegenc.c: Negotiation fixes.
Original commit message from CVS:
* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_init),
(gst_ffmpegenc_connect): Negotiation fixes.
* ext/mpeg2dec/gstmpeg2dec.c: (gst_mpeg2dec_negotiate_format):
Remove inappropriate gst_caps_free().
* sys/ximage/ximagesink.c: (gst_ximagesink_sinkconnect):
Reenable Ronald's internal resize code, since the core handles
it correctly now.
David Schleef [Fri, 2 Jan 2004 23:06:49 +0000 (23:06 +0000)]
Remove random stupidities from my last checkin. Doesn't specifically attempt to negotiate passthru.
Original commit message from CVS:
Remove random stupidities from my last checkin. Doesn't specifically
attempt to negotiate passthru.
David Schleef [Fri, 2 Jan 2004 07:09:20 +0000 (07:09 +0000)]
Convert elements to use gst_pad_use_explicit_caps() where appropriate.
Original commit message from CVS:
Convert elements to use gst_pad_use_explicit_caps() where appropriate.
Ronald S. Bultje [Thu, 1 Jan 2004 22:45:56 +0000 (22:45 +0000)]
configure.ac: Fix configure check for mpeg2enc. We need 1.6.1.93 instead of 1.6.1.92, since the pkg-config file of 1....
Original commit message from CVS:
2004-01-01 Ronald Bultje <rbultje@ronald.bitfreak.net>
* configure.ac:
Fix configure check for mpeg2enc. We need 1.6.1.93 instead of
1.6.1.92, since the pkg-config file of 1.6.1.92 is borked and
it therefore uses the wrong include paths. Too bad... Note
that 1.6.1.93 is not release yet. ;).
Also add a check for mplex, which is now using the lib'ified
mplex from mjpegtools, too.
* ext/ffmpeg/gstffmpegcodecmap.c:
Add codec_tag for 3ivx/xvid. For xvid, this should fix playback
issues. I don't think ffmpeg handles 3ivx correctly, so this
probably won't work. But it won't hurt either.
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_connect),
(gst_ffmpegdec_chain):
* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_connect),
(gst_ffmpegenc_chain_audio):
Fix memleak in audio encoding. Close codec if open fails, this
calls the cleanup routines so we can re-use the context.
* ext/mpeg2enc/gstmpeg2enc.cc:
Fix pad template names/types, fix memory issue with getcaps().
* ext/mpeg2enc/gstmpeg2encoder.cc:
* ext/mpeg2enc/gstmpeg2encoder.hh:
Fix compile issue with new caps system (const thingy).
* ext/mpeg2enc/gstmpeg2encpicturereader.cc:
* ext/mpeg2enc/gstmpeg2encpicturereader.hh:
We read a first frame right on initing, so that we have a caps
when we init the output. This caps is cached in padprivate and
read as first frame.
* ext/mplex/Makefile.am:
* ext/mplex/gstmplex.cc:
* ext/mplex/gstmplex.h:
* ext/mplex/gstmplex.hh:
* ext/mplex/gstmplexibitstream.cc:
* ext/mplex/gstmplexibitstream.hh:
* ext/mplex/gstmplexjob.cc:
* ext/mplex/gstmplexjob.hh:
* ext/mplex/gstmplexoutputstream.cc:
* ext/mplex/gstmplexoutputstream.hh:
We wrap mjpegtools mplex. So I rewrote the plugin. The old plugin
had issues, didn't do capsnego, supported only a subset of the
mplex features and required a mplex fork in our local CVS. Plus
that it worked agaist a very old mplex version. Rewriting was
faster than updating it.
* gst-libs/ext/Makefile.am:
* gst-libs/ext/mplex/INSTRUCT:
* gst-libs/ext/mplex/Makefile.am:
* gst-libs/ext/mplex/README:
* gst-libs/ext/mplex/TODO:
* gst-libs/ext/mplex/ac3strm_in.cc:
* gst-libs/ext/mplex/audiostrm.hh:
* gst-libs/ext/mplex/audiostrm_out.cc:
* gst-libs/ext/mplex/aunit.hh:
* gst-libs/ext/mplex/bits.cc:
* gst-libs/ext/mplex/bits.hh:
* gst-libs/ext/mplex/buffer.cc:
* gst-libs/ext/mplex/buffer.hh:
* gst-libs/ext/mplex/fastintfns.h:
* gst-libs/ext/mplex/format_codes.h:
* gst-libs/ext/mplex/inputstrm.cc:
* gst-libs/ext/mplex/inputstrm.hh:
* gst-libs/ext/mplex/lpcmstrm_in.cc:
* gst-libs/ext/mplex/mjpeg_logging.cc:
* gst-libs/ext/mplex/mjpeg_logging.h:
* gst-libs/ext/mplex/mjpeg_types.h:
* gst-libs/ext/mplex/mpastrm_in.cc:
* gst-libs/ext/mplex/mpegconsts.cc:
* gst-libs/ext/mplex/mpegconsts.h:
* gst-libs/ext/mplex/mplexconsts.hh:
* gst-libs/ext/mplex/multplex.cc:
* gst-libs/ext/mplex/outputstream.hh:
* gst-libs/ext/mplex/padstrm.cc:
* gst-libs/ext/mplex/padstrm.hh:
* gst-libs/ext/mplex/stillsstream.cc:
* gst-libs/ext/mplex/stillsstream.hh:
* gst-libs/ext/mplex/systems.cc:
* gst-libs/ext/mplex/systems.hh:
* gst-libs/ext/mplex/vector.cc:
* gst-libs/ext/mplex/vector.hh:
* gst-libs/ext/mplex/videostrm.hh:
* gst-libs/ext/mplex/videostrm_in.cc:
* gst-libs/ext/mplex/videostrm_out.cc:
* gst-libs/ext/mplex/yuv4mpeg.cc:
* gst-libs/ext/mplex/yuv4mpeg.h:
* gst-libs/ext/mplex/yuv4mpeg_intern.h:
* gst-libs/ext/mplex/yuv4mpeg_ratio.cc:
We don't fork mjpegtools' mplex in our CVS anymore.
* gst/avi/gstavidemux.c: (gst_avi_demux_src_getcaps),
(gst_avi_demux_add_stream):
* gst/avi/gstavidemux.h:
Add getcaps() function for proper caps nego. This makes some
parts of AVI playback/reading work.
* sys/ximage/ximagesink.c: (gst_ximagesink_sinkconnect):
Resize window on new capsnego. This is probably wrong, but
I'm still committing it because with current capsnego, the
first successfull capsnego is auto-fixated, therefore rounded
down to the lowest values in the caps. this results in a 16x16
XWindow that is not reized when real capsnego finishes.
Dave, I see more cases of this, do you know a proper solution?
* tools/gst-launch-ext.in:
Fix MPEG-4 AAC (Apple iPod/iTunes) file commandline.
David Schleef [Wed, 31 Dec 2003 08:02:04 +0000 (08:02 +0000)]
Negotiation fixes.
Original commit message from CVS:
Negotiation fixes.
Ronald S. Bultje [Wed, 24 Dec 2003 00:12:16 +0000 (00:12 +0000)]
ext/ffmpeg/: fix typo in RGB masks, and move back to "old" colorspace capsnego code until whoever wrote this new crap...
Original commit message from CVS:
2003-12-24 Ronald Bultje <rbultje@ronald.bitfreak.net>
* ext/ffmpeg/gstffmpegcodecmap.c:
* ext/ffmpeg/gstffmpegcolorspace.c: (gst_ffmpegcsp_getcaps),
(gst_ffmpegcsp_srcconnect_func), (gst_ffmpegcsp_sinkconnect),
(gst_ffmpegcsp_srcconnect), (gst_ffmpegcsp_get_type),
(gst_ffmpegcsp_base_init), (gst_ffmpegcsp_class_init),
(gst_ffmpegcsp_init), (gst_ffmpegcsp_chain),
(gst_ffmpegcsp_change_state), (gst_ffmpegcsp_set_property),
(gst_ffmpegcsp_get_property), (gst_ffmpegcsp_register):
fix typo in RGB masks, and move back to "old" colorspace
capsnego code until whoever wrote this new crap has actually
tested it so that it works.
And yes, this works, keep it that way please.
David Schleef [Mon, 22 Dec 2003 01:46:58 +0000 (01:46 +0000)]
Merge CAPS branch
Original commit message from CVS:
Merge CAPS branch
Ronald S. Bultje [Thu, 18 Dec 2003 09:31:48 +0000 (09:31 +0000)]
Sorry Dave... Add mpegversion=1 to mp3 caps everywhere so that the autoplugger uses mad and not faad for mp3 decoding...
Original commit message from CVS:
Sorry Dave... Add mpegversion=1 to mp3 caps everywhere so that the autoplugger uses mad and not faad for mp3 decoding. This should fix mp3 playback.
Ronald S. Bultje [Thu, 18 Dec 2003 09:27:58 +0000 (09:27 +0000)]
Well, hack to get this RGB thing truely right
Original commit message from CVS:
Well, hack to get this RGB thing truely right
Ronald S. Bultje [Wed, 17 Dec 2003 22:38:22 +0000 (22:38 +0000)]
Fix small typo in RGB32LE red-mask check
Original commit message from CVS:
Fix small typo in RGB32LE red-mask check
Ronald S. Bultje [Fri, 12 Dec 2003 15:40:59 +0000 (15:40 +0000)]
Re-enable SVQ3, and also add a workaround for the fact that it writes to (read-only) buffers. This effectively makes ...
Original commit message from CVS:
Re-enable SVQ3, and also add a workaround for the fact that it writes to (read-only) buffers. This effectively makes svq3 work
Thomas Vander Stichele [Tue, 9 Dec 2003 17:29:20 +0000 (17:29 +0000)]
tweaks 'n' docs
Original commit message from CVS:
tweaks 'n' docs
Thomas Vander Stichele [Tue, 9 Dec 2003 15:59:48 +0000 (15:59 +0000)]
sandbox to get ffmpeg to play nicely in all cases
Original commit message from CVS:
sandbox to get ffmpeg to play nicely in all cases
Thomas Vander Stichele [Fri, 5 Dec 2003 16:01:23 +0000 (16:01 +0000)]
fix compilation
Original commit message from CVS:
fix compilation
Ronald S. Bultje [Fri, 28 Nov 2003 20:06:18 +0000 (20:06 +0000)]
Fix RGB better
Original commit message from CVS:
Fix RGB better
David Schleef [Thu, 27 Nov 2003 21:48:39 +0000 (21:48 +0000)]
Change everyone to video/x-msvideo
Original commit message from CVS:
Change everyone to video/x-msvideo
Benjamin Otte [Tue, 25 Nov 2003 04:57:43 +0000 (04:57 +0000)]
oops, got the RGB32 codecs wrong
Original commit message from CVS:
oops, got the RGB32 codecs wrong
Benjamin Otte [Tue, 25 Nov 2003 04:48:31 +0000 (04:48 +0000)]
make ffcolorspace work
Original commit message from CVS:
make ffcolorspace work
Benjamin Otte [Tue, 25 Nov 2003 02:18:12 +0000 (02:18 +0000)]
- disable svq3 as it still crashes and spider tries to use it.
Original commit message from CVS:
- disable svq3 as it still crashes and spider tries to use it.
- copy buffers if necessary before sending them for decode in SVQ1 case. The decoder writes to the data.
Leif Johnson [Sun, 16 Nov 2003 22:01:30 +0000 (22:01 +0000)]
+ checking in plugin category changes
Original commit message from CVS:
+ checking in plugin category changes
Ronald S. Bultje [Wed, 12 Nov 2003 11:27:40 +0000 (11:27 +0000)]
Oops, some pretty bad memleaks
Original commit message from CVS:
Oops, some pretty bad memleaks
Ronald S. Bultje [Wed, 12 Nov 2003 10:42:36 +0000 (10:42 +0000)]
Several encoding changes: for video, double check the pix_fmt after opening the AVCodec. The pix_fmt will be changed ...
Original commit message from CVS:
Several encoding changes:
* for video, double check the pix_fmt after opening the AVCodec. The pix_fmt
will be changed to the preferred pix_fmt instead of that opening the
codec fails. We fail when it has changed (then, ffmpeg doesn't like it).
* for video, set the correct timestamp.
* for audio, do *not* set the frame_size: most codecs don't like it. Instead,
keep a cache of buffers and always give data of size "frame_size". Maybe
I should have used bytestream here, I'm not sure. This works, though.
I can now create mpeg1 video, mp2 and ac3 audio. I didn't test any others yet.
I also didn't start working on integration with any of the muxers yet, that's
all one big TODO. One thing at a time, please. :).
Benjamin Otte [Mon, 10 Nov 2003 14:15:38 +0000 (14:15 +0000)]
some fixes:
Original commit message from CVS:
some fixes:
- put back a fix to make generic audio caps fixed.
- read out all of the flags when constructing wma extradata
Jeremy Simon [Fri, 7 Nov 2003 19:59:28 +0000 (19:59 +0000)]
Add a function that build the context extradata from caps property
Original commit message from CVS:
Add a function that build the context extradata from caps property
Jeremy Simon [Wed, 5 Nov 2003 23:19:38 +0000 (23:19 +0000)]
Use caps properties to set additional data to ffmpeg context (for wma)
Original commit message from CVS:
Use caps properties to set additional data to ffmpeg context (for wma)
Benjamin Otte [Wed, 5 Nov 2003 03:06:10 +0000 (03:06 +0000)]
fix GST_FF_AUD_CAPS_NEW to not include channels and rate in unfixed caps and make audio caps use them again. This ens...
Original commit message from CVS:
fix GST_FF_AUD_CAPS_NEW to not include channels and rate in unfixed caps and make audio caps use them again. This ensures that audio encoders set these properties when setting fixed caps and audio decoders can advertise fixed caps, too. This should work in all cases. If not, change it back and ffdec_mp3 is broken again ;)
Benjamin Otte [Tue, 4 Nov 2003 22:31:05 +0000 (22:31 +0000)]
random fixes to ffmpeg: decoding of mp3 now works, call parent_class->dispose
Original commit message from CVS:
random fixes to ffmpeg: decoding of mp3 now works, call parent_class->dispose