platform/upstream/gstreamer.git
16 years agoext/ffmpeg/gstffmpegdec.c: Explicitely disable the AAC decoders as they don't work...
Sebastian Dröge [Mon, 26 May 2008 07:43:00 +0000 (07:43 +0000)]
ext/ffmpeg/gstffmpegdec.c: Explicitely disable the AAC decoders as they don't work very well and we have better alter...

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_register):
Explicitely disable the AAC decoders as they don't work very well
and we have better alternatives. Fixes bug #534392.

16 years agoUse av_picture_copy() instead of libswscale to copy pictures. This removes the swscal...
Sebastian Dröge [Mon, 26 May 2008 07:39:19 +0000 (07:39 +0000)]
Use av_picture_copy() instead of libswscale to copy pictures. This removes the swscale dependency and is faster. Fixe...

Original commit message from CVS:
Patch by:
Hans de Goede <j dot w dot r degoede at hhs dot nl>
* configure.ac:
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_avpicture_fill):
* ext/ffmpeg/gstffmpegcodecmap.h:
* ext/ffmpeg/gstffmpegdec.c: (get_output_buffer):
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_loop):
* ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_collected):
Use av_picture_copy() instead of libswscale to copy pictures. This
removes the swscale dependency and is faster. Fixes bug #534390.

16 years agoext/ffmpeg/gstffmpegdemux.c: Explicitly disable 'raw' mpeg-ts typefinder as well...
Tim-Philipp Müller [Sun, 25 May 2008 21:55:24 +0000 (21:55 +0000)]
ext/ffmpeg/gstffmpegdemux.c: Explicitly disable 'raw' mpeg-ts typefinder as well; better debug logging for the gst-ff...

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_type_find),
(gst_ffmpegdemux_register):
Explicitly disable 'raw' mpeg-ts typefinder as well; better debug logging
for the gst-ffmpeg typefinders. (#533708).

16 years agoext/ffmpeg/gstffmpegdemux.c: Implement SEEKING query, so players such as totem can...
Tim-Philipp Müller [Sun, 25 May 2008 21:48:39 +0000 (21:48 +0000)]
ext/ffmpeg/gstffmpegdemux.c: Implement SEEKING query, so players such as totem can query seekability. Fix a comment t...

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_src_query_list),
(gst_ffmpegdemux_src_query), (gst_ffmpegdemux_get_stream),
(gst_ffmpegdemux_open):
Implement SEEKING query, so players such as totem can query
seekability. Fix a comment typo or two.

16 years agoconfigure.ac: Back to development -> 0.10.4.1
Jan Schmidt [Sun, 25 May 2008 21:24:23 +0000 (21:24 +0000)]
configure.ac: Back to development -> 0.10.4.1

Original commit message from CVS:
* configure.ac:
Back to development -> 0.10.4.1

16 years agoRelease 0.10.4
Jan Schmidt [Wed, 21 May 2008 23:08:12 +0000 (23:08 +0000)]
Release 0.10.4

Original commit message from CVS:
Release 0.10.4

16 years agoconfigure.ac: 0.10.3.3 pre-release
Jan Schmidt [Tue, 20 May 2008 11:56:51 +0000 (11:56 +0000)]
configure.ac: 0.10.3.3 pre-release

Original commit message from CVS:
* configure.ac:
0.10.3.3 pre-release

16 years agoFix build with (Debian's) system ffmpeg. Fixes bug #532803.
Sebastian Dröge [Tue, 13 May 2008 15:07:25 +0000 (15:07 +0000)]
Fix build with (Debian's) system ffmpeg. Fixes bug #532803.

Original commit message from CVS:
* configure.ac:
* ext/ffmpeg/gstffmpegcodecmap.c:
* ext/ffmpeg/gstffmpegdemux.c:
* ext/libpostproc/gstpostproc.c:
Fix build with (Debian's) system ffmpeg. Fixes bug #532803.

16 years agoconfigure.ac: 0.10.3.2 pre-release
Edward Hervey [Mon, 12 May 2008 14:28:58 +0000 (14:28 +0000)]
configure.ac: 0.10.3.2 pre-release

Original commit message from CVS:
* configure.ac:
0.10.3.2 pre-release

16 years agodocs/plugins/: Update docs
Edward Hervey [Mon, 12 May 2008 14:08:49 +0000 (14:08 +0000)]
docs/plugins/: Update docs

Original commit message from CVS:
* docs/plugins/gst-ffmpeg-plugins.args:
* docs/plugins/gst-ffmpeg-plugins.hierarchy:
* docs/plugins/gst-ffmpeg-plugins.interfaces:
* docs/plugins/gst-ffmpeg-plugins.prerequisites:
* docs/plugins/inspect/plugin-ffmpeg.xml:
Update docs

16 years agogst-libs/ext/Makefile.am: More fixes for make dist
Edward Hervey [Mon, 12 May 2008 13:02:41 +0000 (13:02 +0000)]
gst-libs/ext/Makefile.am: More fixes for make dist

Original commit message from CVS:
* gst-libs/ext/Makefile.am:
More fixes for make dist

16 years agoffmpegrev: Update to today's upstream ffmpeg. No visible regressions.
Edward Hervey [Thu, 8 May 2008 16:06:12 +0000 (16:06 +0000)]
ffmpegrev: Update to today's upstream ffmpeg. No visible regressions.

Original commit message from CVS:
* ffmpegrev:
Update to today's upstream ffmpeg. No visible regressions.

16 years agoMore fixes for make dist.
Edward Hervey [Thu, 8 May 2008 16:04:32 +0000 (16:04 +0000)]
More fixes for make dist.

Original commit message from CVS:
* configure.ac:
* gst-libs/ext/Makefile.am:
More fixes for make dist.

16 years agoext/ffmpeg/gstffmpegcodecmap.c: Replace usage of img_convert (deprecated) by sws_scale.
Edward Hervey [Thu, 8 May 2008 13:45:14 +0000 (13:45 +0000)]
ext/ffmpeg/gstffmpegcodecmap.c: Replace usage of img_convert (deprecated) by sws_scale.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_img_convert):
Replace usage of img_convert (deprecated) by sws_scale.
Fixes #529015

16 years agoconfigure.ac: Fix doc-building and make dist.
Edward Hervey [Thu, 8 May 2008 13:40:12 +0000 (13:40 +0000)]
configure.ac: Fix doc-building and make dist.

Original commit message from CVS:
* configure.ac:
Fix doc-building and make dist.

16 years agogst-libs/ext/Makefile.am: Don't copy file which is no longer present.
Edward Hervey [Thu, 8 May 2008 13:17:20 +0000 (13:17 +0000)]
gst-libs/ext/Makefile.am: Don't copy file which is no longer present.

Original commit message from CVS:
* gst-libs/ext/Makefile.am:
Don't copy file which is no longer present.

16 years agoext/ffmpeg/gstffmpegaudioresample.c: small gst-indent run.
Edward Hervey [Thu, 8 May 2008 11:15:52 +0000 (11:15 +0000)]
ext/ffmpeg/gstffmpegaudioresample.c: small gst-indent run.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegaudioresample.c:
(gst_ffmpegaudioresample_class_init),
(gst_ffmpegaudioresample_init),
(gst_ffmpegaudioresample_transform_caps),
(gst_ffmpegaudioresample_transform_size),
(gst_ffmpegaudioresample_get_unit_size),
(gst_ffmpegaudioresample_set_caps),
(gst_ffmpegaudioresample_transform):
small gst-indent run.

16 years agogst-libs/ext/Makefile.am: Use 'make clean' and not 'make dist-clean' for local cleanups.
Edward Hervey [Thu, 8 May 2008 09:18:45 +0000 (09:18 +0000)]
gst-libs/ext/Makefile.am: Use 'make clean' and not 'make dist-clean' for local cleanups.

Original commit message from CVS:
* gst-libs/ext/Makefile.am:
Use 'make clean' and not 'make dist-clean' for local cleanups.
Fixes #519235

16 years agoext/ffmpeg/gstffmpegdec.c: Previous commit in fact broke playback for standard wmv3.
Edward Hervey [Wed, 7 May 2008 10:15:53 +0000 (10:15 +0000)]
ext/ffmpeg/gstffmpegdec.c: Previous commit in fact broke playback for standard wmv3.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_setcaps),
(gst_ffmpegdec_register):
Previous commit in fact broke playback for standard wmv3.
Instead make both ffdec_vc1 and ffdec_wmv3 accept any wmv3 variant and
figure out the proper codecid when opening the ffmpeg decoder.

16 years agoext/ffmpeg/gstffmpegdec.c: Bump the priority of VC1 decoder so that it goes before...
Edward Hervey [Wed, 7 May 2008 09:47:57 +0000 (09:47 +0000)]
ext/ffmpeg/gstffmpegdec.c: Bump the priority of VC1 decoder so that it goes before the WMV3 decoder. This allows prop...

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_setcaps),
(gst_ffmpegdec_video_frame), (gst_ffmpegdec_register):
Bump the priority of VC1 decoder so that it goes before the WMV3
decoder. This allows proper auto-pluggin with decodebin/playbin.
Fixes #531857

16 years agoext/libpostproc/gstpostproc.c: Support for non-I420 colorspaces in postproc
Gabriel Bouvigne [Tue, 6 May 2008 14:31:22 +0000 (14:31 +0000)]
ext/libpostproc/gstpostproc.c: Support for non-I420 colorspaces in postproc

Original commit message from CVS:
Patch by: Gabriel Bouvigne  <bouvigne at mp3-tech dot org>
* ext/libpostproc/gstpostproc.c:
Support for non-I420 colorspaces in postproc
Fixes #496127

16 years agoChangeLog surgery, forgot to mention which bug it fixed
Edward Hervey [Mon, 21 Apr 2008 12:24:15 +0000 (12:24 +0000)]
ChangeLog surgery, forgot to mention which bug it fixed

Original commit message from CVS:
ChangeLog surgery, forgot to mention which bug it fixed

16 years agoautogen.sh: Check for Subversion presence.
Dejan Sakelšak [Mon, 21 Apr 2008 12:17:33 +0000 (12:17 +0000)]
autogen.sh: Check for Subversion presence.

Original commit message from CVS:
Patch by: Dejan Sakelšak <sakdean at gmail dot com>
* autogen.sh:
Check for Subversion presence.

16 years agoext/ffmpeg/: Add support for MusePack StreamVersion 7 and disable the StreamVersion...
Sebastian Dröge [Sat, 19 Apr 2008 20:27:25 +0000 (20:27 +0000)]
ext/ffmpeg/: Add support for MusePack StreamVersion 7 and disable the StreamVersion 8 typefinder. Fixes bug #510745.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
(gst_ffmpeg_formatid_to_caps), (gst_ffmpeg_caps_to_codecid),
(gst_ffmpeg_get_codecid_longname):
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):
Add support for MusePack StreamVersion 7 and disable the StreamVersion
8 typefinder. Fixes bug #510745.

16 years agoext/ffmpeg/: Add support for Monkey's Audio (APE). Fixes bug #518033.
Sebastian Dröge [Sat, 19 Apr 2008 19:43:54 +0000 (19:43 +0000)]
ext/ffmpeg/: Add support for Monkey's Audio (APE). Fixes bug #518033.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
(gst_ffmpeg_caps_with_codecid), (gst_ffmpeg_formatid_to_caps),
(gst_ffmpeg_caps_to_codecid), (gst_ffmpeg_get_codecid_longname):
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):
Add support for Monkey's Audio (APE). Fixes bug #518033.

16 years agoconfigure.ac (FFMPEG_SOURCE): Enable PIC code using what ffmpeg wants us to tell...
Andy Wingo [Tue, 15 Apr 2008 10:17:15 +0000 (10:17 +0000)]
configure.ac (FFMPEG_SOURCE): Enable PIC code using what ffmpeg wants us to tell it, --enable-shared. Works for me on...

Original commit message from CVS:
2008-04-15  Andy Wingo  <wingo@pobox.com>

* configure.ac (FFMPEG_SOURCE): Enable PIC code using what ffmpeg
wants us to tell it, --enable-shared. Works for me on mac os 10.5
and on x86-64 rawhide.

16 years agoRevert my patch, it was the badness.
Andy Wingo [Tue, 15 Apr 2008 10:02:40 +0000 (10:02 +0000)]
Revert my patch, it was the badness.

Original commit message from CVS:
(gst_post_proc_transform_ip): Revert my patch, it was the badness.

16 years agoRevert my patch, it was the badness.
Andy Wingo [Tue, 15 Apr 2008 09:58:02 +0000 (09:58 +0000)]
Revert my patch, it was the badness.

Original commit message from CVS:
(gst_post_proc_transform_ip): Revert my patch, it was the badness.

16 years agoext/libpostproc/gstpostproc.c (gst_post_proc_transform_ip): Fix some mistyping when...
Andy Wingo [Tue, 15 Apr 2008 09:11:52 +0000 (09:11 +0000)]
ext/libpostproc/gstpostproc.c (gst_post_proc_transform_ip): Fix some mistyping when calling pp_postprocess.

Original commit message from CVS:
2008-04-15  Andy Wingo  <wingo@pobox.com>

* ext/libpostproc/gstpostproc.c (gst_post_proc_transform_ip): Fix
some mistyping when calling pp_postprocess.

16 years agoBecause ffmpeg checks out libswscale via an svn:externals, checking out an old ffmpeg...
Andy Wingo [Mon, 14 Apr 2008 16:14:58 +0000 (16:14 +0000)]
Because ffmpeg checks out libswscale via an svn:externals, checking out an old ffmpeg does not check out a correspond...

Original commit message from CVS:
2008-04-14  Andy Wingo  <wingo@pobox.com>

* autogen.sh:
* ffmpegrev (FFMPEG_EXTERNALS_UPDATE): Because ffmpeg checks out
libswscale via an svn:externals, checking out an old ffmpeg does
not check out a corresponding libswscale. Keep the swscale
checkout manually synchronized, then. Update this when you update
FFMPEG_REVISION.

16 years agoconfigure.ac: Actually build dlls when cross-compiling with mingw32.
Damien Lespiau [Sun, 6 Apr 2008 08:59:49 +0000 (08:59 +0000)]
configure.ac: Actually build dlls when cross-compiling with mingw32.

Original commit message from CVS:
Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
* configure.ac:
Actually build dlls when cross-compiling with mingw32.
Fixes bug #526247.

16 years agoffmpegrev: Bump upstream ffmpeg revision to todays
Edward Hervey [Thu, 3 Apr 2008 09:32:46 +0000 (09:32 +0000)]
ffmpegrev: Bump upstream ffmpeg revision to todays

Original commit message from CVS:
* ffmpegrev: Bump upstream ffmpeg revision to todays
* configure.ac: Fix configure for build modification in upstream
* ext/libpostproc/gstpostproc.c: (gst_post_proc_transform_ip):
Fix build for modifications in upstream

16 years agoext/ffmpeg/gstffmpegdec.c (gst_ffmpegdec_sink_event): Only drain if we've already...
Andy Wingo [Tue, 18 Mar 2008 10:35:40 +0000 (10:35 +0000)]
ext/ffmpeg/gstffmpegdec.c (gst_ffmpegdec_sink_event): Only drain if we've already set up a codec.

Original commit message from CVS:
2008-03-18  Andy Wingo  <wingo@pobox.com>

* ext/ffmpeg/gstffmpegdec.c (gst_ffmpegdec_sink_event): Only drain
if we've already set up a codec.

16 years agoext/ffmpeg/Makefile.am (libgstffmpeg_la_LIBADD): Re-add -lz explicitly here.
Andy Wingo [Mon, 17 Mar 2008 14:09:54 +0000 (14:09 +0000)]
ext/ffmpeg/Makefile.am (libgstffmpeg_la_LIBADD): Re-add -lz explicitly here.

Original commit message from CVS:
2008-03-17  Andy Wingo  <wingo@pobox.com>

* ext/ffmpeg/Makefile.am (libgstffmpeg_la_LIBADD): Re-add -lz
explicitly here.

* configure.ac: Remove -lz from FFMPEG_LIBS, because FFMPEG_LIBS
are used in the Makefile.am as a DEPENDENCIES target, and -lz is
not a target. Also in a blahriffic turn of events, MMX and Altivec
code on MacOS 10.5 produces non-PIC code. Turn them off on macos.

16 years agoext/ffmpeg/gstffmpegdec.c: When we receive a newsegment event, we must drain any...
Wim Taymans [Tue, 11 Mar 2008 16:07:11 +0000 (16:07 +0000)]
ext/ffmpeg/gstffmpegdec.c: When we receive a newsegment event, we must drain any pending frames because they belong t...

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_sink_event):
When we receive a newsegment event, we must drain any pending frames
because they belong to the previous segment. This fixes some cases of
very large timestamps when doing segment seeks.

16 years agoext/ffmpeg/gstffmpegdec.c: Work around an ffmpeg bug where it always returns 0 timest...
Wim Taymans [Thu, 6 Mar 2008 14:47:57 +0000 (14:47 +0000)]
ext/ffmpeg/gstffmpegdec.c: Work around an ffmpeg bug where it always returns 0 timestamps.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_open),
(get_output_buffer), (gst_ffmpegdec_video_frame),
(gst_ffmpegdec_chain):
Work around an ffmpeg bug where it always returns 0 timestamps.

16 years agoext/ffmpeg/gstffmpegcodecmap.c: Fix masks for RGBA32 caps. Fixes colours when decodin...
Michael Smith [Thu, 6 Mar 2008 12:18:48 +0000 (12:18 +0000)]
ext/ffmpeg/gstffmpegcodecmap.c: Fix masks for RGBA32 caps. Fixes colours when decoding using ffdec_qtrle. Follows an ...

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_pixfmt_to_caps):
Fix masks for RGBA32 caps. Fixes colours when decoding using
ffdec_qtrle. Follows an identical fix in the ffmpegcolorspace copy of
this code (revision 1.29).

16 years agoext/ffmpeg/gstffmpegdec.c: Detect DTS or PTS as timestamps. This is done by tracking...
Wim Taymans [Wed, 5 Mar 2008 17:02:33 +0000 (17:02 +0000)]
ext/ffmpeg/gstffmpegdec.c: Detect DTS or PTS as timestamps. This is done by tracking frame reordering on the output a...

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_class_init),
(gst_ffmpegdec_setcaps), (check_keyframe),
(gst_ffmpegdec_video_frame), (gst_ffmpegdec_sink_event),
(gst_ffmpegdec_set_property):
Detect DTS or PTS as timestamps. This is done by tracking frame
reordering on the output and making sure that timestamps don't go
backwards. Fixes #482660.

16 years agoext/ffmpeg/gstffmpegdec.c: Add property for controlling of motion vectors. Fixes...
Damien Lespiau [Mon, 11 Feb 2008 18:45:53 +0000 (18:45 +0000)]
ext/ffmpeg/gstffmpegdec.c: Add property for controlling of motion vectors. Fixes #515811.

Original commit message from CVS:
Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_class_init),
(gst_ffmpegdec_init), (gst_ffmpegdec_setcaps),
(gst_ffmpegdec_set_property), (gst_ffmpegdec_get_property):
Add property for controlling of motion vectors. Fixes #515811.
API: GstFFMpegDec::debug-mv

16 years agoext/ffmpeg/gstffmpegdemux.c: Don't try handling a buffer if downstream allocation...
Edward Hervey [Fri, 8 Feb 2008 15:12:03 +0000 (15:12 +0000)]
ext/ffmpeg/gstffmpegdemux.c: Don't try handling a buffer if downstream allocation failed.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_loop):
Don't try handling a buffer if downstream allocation failed.
Avoids crashes and Fixes #515205

16 years agoext/ffmpeg/gstffmpegdec.c: Don't blindly copy input timestamp to output timestamp...
Wim Taymans [Tue, 29 Jan 2008 17:53:47 +0000 (17:53 +0000)]
ext/ffmpeg/gstffmpegdec.c: Don't blindly copy input timestamp to output timestamp but prefer the one attached to the ...

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_video_frame):
Don't blindly copy input timestamp to output timestamp but prefer the
one attached to the picture when we can.
Add new variables for the output timestamp and duration to make the code
a little more clear.

16 years agoext/ffmpeg/gstffmpegdec.c: Initialize hurry_up to 0 to fix "might be used uninitializ...
Sebastian Dröge [Sat, 26 Jan 2008 15:20:10 +0000 (15:20 +0000)]
ext/ffmpeg/gstffmpegdec.c: Initialize hurry_up to 0 to fix "might be used uninitialized" compiler warning.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_video_frame):
Initialize hurry_up to 0 to fix "might be used uninitialized"
compiler warning.

16 years agoext/ffmpeg/: When doing QoS, don't drop the frame before decoding because we might...
Wim Taymans [Fri, 25 Jan 2008 11:44:29 +0000 (11:44 +0000)]
ext/ffmpeg/: When doing QoS, don't drop the frame before decoding because we might drop an important reference frame,...

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_base_init),
(gst_ffmpegdec_setcaps), (gst_ffmpegdec_video_frame):
* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_base_init):
When doing QoS, don't drop the frame before decoding because we might
drop an important reference frame, just make the decoder hurry_up on
this frame.

16 years agoext/ffmpeg/gstffmpegcodecmap.c: Add H263+ to valid 3GP muxing formats. Fixes #511476.
Wim Taymans [Fri, 25 Jan 2008 11:39:59 +0000 (11:39 +0000)]
ext/ffmpeg/gstffmpegcodecmap.c: Add H263+ to valid 3GP muxing formats. Fixes #511476.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcodecmap.c:
(gst_ffmpeg_formatid_get_codecids):
Add H263+ to valid 3GP muxing formats. Fixes #511476.

16 years agoext/ffmpeg/gstffmpegdec.c: Add padding to input data before feeding it to ffmpeg...
Wim Taymans [Wed, 23 Jan 2008 18:23:37 +0000 (18:23 +0000)]
ext/ffmpeg/gstffmpegdec.c: Add padding to input data before feeding it to ffmpeg. Also add option to disable this (al...

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_class_init),
(gst_ffmpegdec_init), (get_output_buffer), (gst_ffmpegdec_chain),
(gst_ffmpegdec_change_state), (gst_ffmpegdec_set_property),
(gst_ffmpegdec_get_property):
Add padding to input data before feeding it to ffmpeg. Also add option
to disable this (although it does not seem to cause slowdown).

16 years agoext/ffmpeg/gstffmpegdec.c: Change the pad_alloc calculations for weird clipped sizes...
Wim Taymans [Wed, 23 Jan 2008 16:08:27 +0000 (16:08 +0000)]
ext/ffmpeg/gstffmpegdec.c: Change the pad_alloc calculations for weird clipped sizes, refactor the code a bit.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_setcaps),
(alloc_output_buffer), (gst_ffmpegdec_get_buffer),
(gst_ffmpegdec_release_buffer), (gst_ffmpegdec_negotiate),
(get_output_buffer):
Change the pad_alloc calculations for weird clipped sizes, refactor the
code a bit.
Add support for some different refcounting algorithm.
Direct rendering still disabled by default.

16 years agoext/ffmpeg/gstffmpegdec.c: Disable direct-rendering by default until buffer allocatio...
Edward Hervey [Tue, 22 Jan 2008 18:24:40 +0000 (18:24 +0000)]
ext/ffmpeg/gstffmpegdec.c: Disable direct-rendering by default until buffer allocation works correctly.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_class_init):
Disable direct-rendering by default until buffer allocation works
correctly.
Rename the alias of the direct rendering property from 'direct' to
'direct-rendering'.

16 years agoext/ffmpeg/gstffmpegdec.c: Disable direct rendering for h264 since it does not always...
Wim Taymans [Tue, 22 Jan 2008 17:16:12 +0000 (17:16 +0000)]
ext/ffmpeg/gstffmpegdec.c: Disable direct rendering for h264 since it does not always work.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_setcaps),
(gst_ffmpegdec_get_buffer):
Disable direct rendering for h264 since it does not always work.

16 years agoext/ffmpeg/gstffmpegdec.c: Implement get/set for the new property too.
Wim Taymans [Tue, 22 Jan 2008 16:44:51 +0000 (16:44 +0000)]
ext/ffmpeg/gstffmpegdec.c: Implement get/set for the new property too.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_set_property),
(gst_ffmpegdec_get_property):
Implement get/set for the new property too.

16 years agoext/ffmpeg/gstffmpegdec.c: Reenable pad_alloc, seem to work now.
Wim Taymans [Tue, 22 Jan 2008 16:32:23 +0000 (16:32 +0000)]
ext/ffmpeg/gstffmpegdec.c: Reenable pad_alloc, seem to work now.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_class_init),
(gst_ffmpegdec_init), (gst_ffmpegdec_close), (gst_ffmpegdec_open),
(gst_ffmpegdec_setcaps), (gst_ffmpegdec_get_buffer),
(gst_ffmpegdec_release_buffer), (get_output_buffer),
(gst_ffmpegdec_video_frame), (gst_ffmpegdec_audio_frame),
(gst_ffmpegdec_frame), (gst_ffmpegdec_change_state),
(gst_ffmpegdec_set_property), (gst_ffmpegdec_get_property):
Reenable pad_alloc, seem to work now.
Added property to easily disable it later on.
Remove some old code that tried hard to break the get_buffer
functions. Fixes #321662.

16 years agoext/ffmpeg/gstffmpegcfg.c: Add h263 to the list of codecs using the mpeg flags and...
Wim Taymans [Tue, 22 Jan 2008 13:54:34 +0000 (13:54 +0000)]
ext/ffmpeg/gstffmpegcfg.c: Add h263 to the list of codecs using the mpeg flags and options.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcfg.c: (gst_ffmpeg_flags_get_type):
Add h263 to the list of codecs using the mpeg flags and options.
Add some more H263 specific flags. Fixes #421068.

16 years agoext/ffmpeg/gstffmpegdemux.c: Don't register typefinders for which we have better...
Sebastian Dröge [Tue, 22 Jan 2008 11:10:57 +0000 (11:10 +0000)]
ext/ffmpeg/gstffmpegdemux.c: Don't register typefinders for which we have better replacements in base. Fixes bug #510...

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):
Don't register typefinders for which we have better replacements
in base. Fixes bug #510985.

16 years agoext/ffmpeg/gstffmpegdec.c: Remove some more overly clever code that does nothing...
Wim Taymans [Mon, 21 Jan 2008 11:19:03 +0000 (11:19 +0000)]
ext/ffmpeg/gstffmpegdec.c: Remove some more overly clever code that does nothing but mess up timestamps.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_video_frame),
(gst_ffmpegdec_chain):
Remove some more overly clever code that does nothing but mess up
timestamps.

16 years agoext/ffmpeg/gstffmpegdec.c: Flush delayed frames on DISCONT if we have them.
Wim Taymans [Fri, 18 Jan 2008 17:48:21 +0000 (17:48 +0000)]
ext/ffmpeg/gstffmpegdec.c: Flush delayed frames on DISCONT if we have them.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_drain),
(gst_ffmpegdec_sink_event), (gst_ffmpegdec_chain):
Flush delayed frames on DISCONT if we have them.

16 years agoext/ffmpeg/gstffmpegdec.c: Flush on DISCONT because ffmpeg does not reliably tell...
Wim Taymans [Fri, 18 Jan 2008 14:50:46 +0000 (14:50 +0000)]
ext/ffmpeg/gstffmpegdec.c: Flush on DISCONT because ffmpeg does not reliably tell us about keyframes.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_video_frame),
(gst_ffmpegdec_chain):
Flush on DISCONT because ffmpeg does not reliably tell us about
keyframes.

16 years agoext/ffmpeg/gstffmpegdec.c: Rewrite timestamping code to let ffmpeg track timestamps.
Wim Taymans [Fri, 18 Jan 2008 12:18:08 +0000 (12:18 +0000)]
ext/ffmpeg/gstffmpegdec.c: Rewrite timestamping code to let ffmpeg track timestamps.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_init),
(gst_ffmpegdec_open), (gst_ffmpegdec_get_buffer),
(gst_ffmpegdec_release_buffer), (gst_ffmpegdec_video_frame),
(gst_ffmpegdec_sink_event), (gst_ffmpegdec_chain):
Rewrite timestamping code to let ffmpeg track timestamps.
Fixes #482660, #337866.

16 years agoext/ffmpeg/gstffmpegdec.c: Add basic reverse playback for video.
Wim Taymans [Wed, 16 Jan 2008 17:35:58 +0000 (17:35 +0000)]
ext/ffmpeg/gstffmpegdec.c: Add basic reverse playback for video.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (clear_queued), (flush_queued),
(gst_ffmpegdec_video_frame), (gst_ffmpegdec_frame),
(gst_ffmpegdec_sink_event), (gst_ffmpegdec_change_state):
Add basic reverse playback for video.

16 years agoautogen.sh: Add -Wno-portability to the automake parameters to stop warnings about...
Sebastian Dröge [Thu, 10 Jan 2008 12:43:35 +0000 (12:43 +0000)]
autogen.sh: Add -Wno-portability to the automake parameters to stop warnings about GNU make extensions being used. We...

Original commit message from CVS:
* autogen.sh:
Add -Wno-portability to the automake parameters to stop warnings
about GNU make extensions being used. We require GNU make in almost
every Makefile anyway.
* configure.ac:
Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
at the same time is required for per target flags.

16 years agoconfigure.ac: postproc needs some headers present in libavcodec/*.h
Edward Hervey [Wed, 9 Jan 2008 15:46:18 +0000 (15:46 +0000)]
configure.ac: postproc needs some headers present in libavcodec/*.h

Original commit message from CVS:
* configure.ac:
postproc needs some headers present in libavcodec/*.h

16 years agogst-libs/ext/Makefile.am: Remove trailing whitespace as warned by automake.
Stefan Kost [Wed, 9 Jan 2008 12:00:33 +0000 (12:00 +0000)]
gst-libs/ext/Makefile.am: Remove trailing whitespace as warned by automake.

Original commit message from CVS:
* gst-libs/ext/Makefile.am:
Remove trailing whitespace as warned by automake.

16 years agoext/ffmpeg/: Don't register the WavPack demuxer and decoder. They don't work, we...
Sebastian Dröge [Fri, 4 Jan 2008 22:14:50 +0000 (22:14 +0000)]
ext/ffmpeg/: Don't register the WavPack demuxer and decoder. They don't work, we have better ones and the output of t...

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_register):
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):
Don't register the WavPack demuxer and decoder. They don't work,
we have better ones and the output of the demuxer/input of the
decoder is in a different format than what audio/x-wavpack of the
wavpack plugin is (it seems that the demuxer strips of the wavpack
headers from every frame).
This fixes typefinding of Wavpack files again, as the ffmpeg
typefinder was preffered for some reason and gave
application/x-gst_ff-wv instead of audio/x-wavpack.

16 years agoext/ffmpeg/gstffmpegdemux.c: Fix demuxer to stop properly (emit an error message...
Edward Hervey [Tue, 18 Dec 2007 10:05:28 +0000 (10:05 +0000)]
ext/ffmpeg/gstffmpegdemux.c: Fix demuxer to stop properly (emit an error message on the bus) if no pads are linked. U...

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_loop):
Fix demuxer to stop properly (emit an error message on the bus) if no
pads are linked. Use aggregated flow return values a bit more.

16 years agoMakefile.am: Include common/win32.mak for CRLF check of win32 project files (see...
Tim-Philipp Müller [Tue, 18 Dec 2007 09:31:39 +0000 (09:31 +0000)]
Makefile.am: Include common/win32.mak for CRLF check of win32 project files (see #393626).

Original commit message from CVS:
* Makefile.am:
Include common/win32.mak for CRLF check of win32 project
files (see #393626).

16 years agoext/ffmpeg/: Add GIF (animations and single images) decoding and encoding support.
Sebastian Dröge [Mon, 17 Dec 2007 20:31:35 +0000 (20:31 +0000)]
ext/ffmpeg/: Add GIF (animations and single images) decoding and encoding support.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
(gst_ffmpeg_formatid_get_codecids),
(gst_ffmpeg_get_codecid_longname):
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_loop),
(gst_ffmpegdemux_register):
* ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_collected),
(gst_ffmpegmux_register):
Add GIF (animations and single images) decoding and encoding support.
Fixes #503249.

16 years agoMerging GST_FFMPEG_NO_MIRROR branch to trunk
Edward Hervey [Mon, 17 Dec 2007 12:43:06 +0000 (12:43 +0000)]
Merging GST_FFMPEG_NO_MIRROR branch to trunk

Original commit message from CVS:
Merging GST_FFMPEG_NO_MIRROR branch to trunk

16 years agoconfigure.ac: And back to development cycle.
Edward Hervey [Tue, 4 Dec 2007 21:06:47 +0000 (21:06 +0000)]
configure.ac: And back to development cycle.

Original commit message from CVS:
* configure.ac:
And back to development cycle.

16 years agoReleasing 0.10.3
Edward Hervey [Tue, 4 Dec 2007 21:03:26 +0000 (21:03 +0000)]
Releasing 0.10.3

Original commit message from CVS:
Releasing 0.10.3

16 years agoconfigure.ac: 0.10.2.2 pre-release
Edward Hervey [Wed, 28 Nov 2007 18:14:49 +0000 (18:14 +0000)]
configure.ac: 0.10.2.2 pre-release

Original commit message from CVS:
* configure.ac:
0.10.2.2 pre-release

16 years agoChangeLog surgery: UTF8-ize latest entry
Tim-Philipp Müller [Sat, 10 Nov 2007 17:21:13 +0000 (17:21 +0000)]
ChangeLog surgery: UTF8-ize latest entry

Original commit message from CVS:
ChangeLog surgery: UTF8-ize latest entry

16 years agoext/ffmpeg/:
Ole André Vadla Ravnås [Thu, 8 Nov 2007 14:44:36 +0000 (14:44 +0000)]
ext/ffmpeg/:

Original commit message from CVS:
Patch by: Ole André Vadla Ravnås <ole dot andre dot ravnas at tandberg dot com>
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_caps_with_codecid):
* ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_init):

16 years agoext/ffmpeg/: gst-indent cleanup.
Edward Hervey [Sat, 3 Nov 2007 16:14:53 +0000 (16:14 +0000)]
ext/ffmpeg/: gst-indent cleanup.

Original commit message from CVS:
* ext/ffmpeg/gstffmpeg.c: (gst_ffmpeg_avcodec_open),
(gst_ffmpeg_avcodec_close), (gst_ffmpeg_av_find_stream_info),
(gst_ffmpeg_log_callback), (plugin_init):
* ext/ffmpeg/gstffmpegcfg.c: (gst_ffmpeg_mb_decision_get_type),
(gst_ffmpeg_flags_get_type), (gst_ffmpeg_cfg_init),
(gst_ffmpeg_cfg_codec_has_pspec),
(gst_ffmpeg_cfg_install_property), (gst_ffmpeg_cfg_set_property),
(gst_ffmpeg_cfg_get_property), (gst_ffmpeg_cfg_set_defaults),
(gst_ffmpeg_cfg_fill_context), (gst_ffmpeg_cfg_finalize):
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps):
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_open),
(gst_ffmpegdec_setcaps), (gst_ffmpegdec_save_incoming_values),
(gst_ffmpegdec_get_best_values), (gst_ffmpegdec_video_frame):
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_base_init),
(gst_ffmpegdemux_src_query):
* ext/ffmpeg/gstffmpegenc.c: (ffmpegenc_setup_working_buf),
(gst_ffmpegenc_chain_video), (gst_ffmpegenc_flush_buffers):
* ext/ffmpeg/gstffmpegprotocol.c: (gst_ffmpegdata_open),
(gst_ffmpegdata_peek), (gst_ffmpegdata_read),
(gst_ffmpegdata_write), (gst_ffmpegdata_seek),
(gst_ffmpegdata_close):
gst-indent cleanup.

16 years agoconfigure.ac: Add big fat warning message with explanation when building against...
Tim-Philipp Müller [Fri, 12 Oct 2007 14:44:55 +0000 (14:44 +0000)]
configure.ac: Add big fat warning message with explanation when building against an external copy of ffmpeg. Fixes #4...

Original commit message from CVS:
* configure.ac:
Add big fat warning message with explanation when building
against an external copy of ffmpeg. Fixes #407779.

16 years agoext/ffmpeg/gstffmpegdec.c: Fix the return type of the setcaps function. Fixes #485033.
Tuomas Kulve [Wed, 10 Oct 2007 09:31:32 +0000 (09:31 +0000)]
ext/ffmpeg/gstffmpegdec.c: Fix the return type of the setcaps function. Fixes #485033.

Original commit message from CVS:
Patch by: Tuomas Kulve <tuomas dot kulve at movial dot fi>
* ext/ffmpeg/gstffmpegdec.c:
Fix the return type of the setcaps function. Fixes #485033.

16 years agoext/ffmpeg/gstffmpegdemux.c: Don't return FALSE for the LATENCY event but instead...
Yann Gilquin [Fri, 5 Oct 2007 15:03:21 +0000 (15:03 +0000)]
ext/ffmpeg/gstffmpegdemux.c: Don't return FALSE for the LATENCY event but instead forward it upstream. Fixes #482946.

Original commit message from CVS:
Patch by: Yann Gilquin <yann dot gilquin at purplelabs dot com>
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_src_event):
Don't return FALSE for the LATENCY event but instead forward it
upstream. Fixes #482946.

16 years agotests/check/generic/libavcodec-locking.c: Print message name and not just number.
Stefan Kost [Wed, 3 Oct 2007 14:51:49 +0000 (14:51 +0000)]
tests/check/generic/libavcodec-locking.c: Print message name and not just number.

Original commit message from CVS:
* tests/check/generic/libavcodec-locking.c:
Print message name and not just number.

16 years agoext/ffmpeg/gstffmpegcodecmap.c: Add Real Video 3.0 and remove some bogus caps.
Wim Taymans [Mon, 1 Oct 2007 17:27:42 +0000 (17:27 +0000)]
ext/ffmpeg/gstffmpegcodecmap.c: Add Real Video 3.0 and remove some bogus caps.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
(gst_ffmpeg_caps_with_codecid), (gst_ffmpeg_get_codecid_longname):
Add Real Video 3.0 and remove some bogus caps.
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_open),
(gst_ffmpegdec_video_frame):
When skipping because of QoS, pretend we consumed all bytes for the
frame so that the pcache's timestamp is updated correctly.

16 years agoext/ffmpeg/gstffmpegdec.c: Don't set rank of sp5x video decoder to NONE.
Edward Hervey [Tue, 14 Aug 2007 14:29:36 +0000 (14:29 +0000)]
ext/ffmpeg/gstffmpegdec.c: Don't set rank of sp5x video decoder to NONE.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_register):
Don't set rank of sp5x video decoder to NONE.
Fixes #466221
Re-order the cases of the switch statement so that the default case
is last.

16 years agoext/ffmpeg/gstffmpegcodecmap.c: Improve debugging of codec data. realvideo caps are...
Wim Taymans [Tue, 7 Aug 2007 10:21:19 +0000 (10:21 +0000)]
ext/ffmpeg/gstffmpegcodecmap.c: Improve debugging of codec data. realvideo caps are underspecified, use fields of alt...

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_caps_with_codecid):
Improve debugging of codec data.
realvideo caps are underspecified, use fields of alternative variant
before we settle this.
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_open),
(gst_ffmpegdec_video_frame):
Add more debugging of used parsers.
Setup the realvideo slices correctly before calling the decoder, fixed
realvideo in matroska.

17 years agoext/ffmpeg/: Free strings atleast when finalizing elements.
Stefan Kost [Wed, 1 Aug 2007 17:43:39 +0000 (17:43 +0000)]
ext/ffmpeg/: Free strings atleast when finalizing elements.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcfg.c: (gst_ffmpeg_cfg_install_property),
(gst_ffmpeg_cfg_finalize):
* ext/ffmpeg/gstffmpegcfg.h:
* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_finalize),
(ffmpegenc_setup_working_buf), (gst_ffmpegenc_chain_video),
(gst_ffmpegenc_flush_buffers):
Free strings atleast when finalizing elements.
* tests/check/generic/libavcodec-locking.c: (GST_START_TEST),
(simple_launch_lines_suite):
Fix some leaks.

17 years agoCheck for libm and link against it (ffmpeg is using sqrt).
Stefan Kost [Wed, 1 Aug 2007 15:06:44 +0000 (15:06 +0000)]
Check for libm and link against it (ffmpeg is using sqrt).

Original commit message from CVS:
* configure.ac:
* ext/ffmpeg/Makefile.am:
Check for libm and link against it (ffmpeg is using sqrt).

17 years agoext/ffmpeg/: Handle buffers with invalid duration correctly even in the case where...
Julien Moutte [Wed, 25 Jul 2007 15:39:43 +0000 (15:39 +0000)]
ext/ffmpeg/: Handle buffers with invalid duration correctly even in the case where we have a demuxer AND a decoder fr...

Original commit message from CVS:
2007-07-25  Julien MOUTTE  <julien@moutte.net>

* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_video_frame):
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_loop): Handle
buffers with invalid duration correctly even in the case where
we have a demuxer AND a decoder from ffmpeg linked.
Fixes: #460274.

17 years agoRemove bogus check for libcheck, since we check for gstreamer-check and it pulls...
Jan Schmidt [Fri, 13 Jul 2007 16:35:45 +0000 (16:35 +0000)]
Remove bogus check for libcheck, since we check for gstreamer-check and it pulls in the required info from there, and...

Original commit message from CVS:
* configure.ac:
* tests/Makefile.am:
Remove bogus check for libcheck, since we check for
gstreamer-check and it pulls in the required info from there, and we
weren't actually _using_ the information for libcheck ourselves
anyway.

17 years agoconfigure.ac: Use pkg-config to locate check. Bump core requirement.
Stefan Kost [Thu, 12 Jul 2007 11:13:13 +0000 (11:13 +0000)]
configure.ac: Use pkg-config to locate check. Bump core requirement.

Original commit message from CVS:
* configure.ac:
Use pkg-config to locate check. Bump core requirement.
* ext/ffmpeg/gstffmpegdeinterlace.c: (gst_ffmpegdeinterlace_chain):
* ext/ffmpeg/gstffmpegscale.c: (gst_ffmpegscale_transform):
Replace deprecated method.

17 years agoext/ffmpeg/gstffmpegenc.c: Fix the encoders by actually copying the encoded output...
Jan Schmidt [Thu, 5 Jul 2007 11:19:21 +0000 (11:19 +0000)]
ext/ffmpeg/gstffmpegenc.c: Fix the encoders by actually copying the encoded output data from the working area into th...

Original commit message from CVS:
* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_chain_video),
(gst_ffmpegenc_flush_buffers):
Fix the encoders by actually copying the encoded output data from the
working area into the output buffer.
Fixes: #453135.

17 years agoext/ffmpeg/gstffmpegenc.*: Instead of allocating 512KB buffers and then setting BUFFE...
Jan Schmidt [Fri, 22 Jun 2007 12:13:18 +0000 (12:13 +0000)]
ext/ffmpeg/gstffmpegenc.*: Instead of allocating 512KB buffers and then setting BUFFER_SIZE to what ffmpeg produced, ...

Original commit message from CVS:
* ext/ffmpeg/gstffmpegenc.c: (ffmpegenc_setup_working_buf),
(gst_ffmpegenc_chain_video), (gst_ffmpegenc_flush_buffers),
(gst_ffmpegenc_change_state):
* ext/ffmpeg/gstffmpegenc.h:
Instead of allocating 512KB buffers and then setting BUFFER_SIZE
to what ffmpeg produced, we're better off by far to use a single
working buffer and copy data out into neat little buffers.
This prevents exhorbitant virtual memory wastage in the form
of allocated but untouched buffers.

17 years agoext/ffmpeg/gstffmpegcodecmap.c: Enable mjpeg-codec in more containers.
Stefan Kost [Wed, 20 Jun 2007 08:00:30 +0000 (08:00 +0000)]
ext/ffmpeg/gstffmpegcodecmap.c: Enable mjpeg-codec in more containers.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcodecmap.c:
(gst_ffmpeg_formatid_get_codecids):
Enable mjpeg-codec in more containers.

17 years agoext/ffmpeg/gstffmpeg.c: Cut off double \n.
Stefan Kost [Tue, 19 Jun 2007 14:14:29 +0000 (14:14 +0000)]
ext/ffmpeg/gstffmpeg.c: Cut off double \n.

Original commit message from CVS:
* ext/ffmpeg/gstffmpeg.c: (gst_ffmpeg_log_callback):
Cut off double \n.
* ext/ffmpeg/gstffmpegcodecmap.c:
(gst_ffmpeg_formatid_get_codecids):
Enable more codecs in containers.

17 years agowin32/vs6/: Convert line endings to CRLF and mark files as binary.
Jan Schmidt [Fri, 15 Jun 2007 09:32:47 +0000 (09:32 +0000)]
win32/vs6/: Convert line endings to CRLF and mark files as binary.

Original commit message from CVS:
* win32/vs6/gst_ffmpeg.dsw:
* win32/vs6/libgstffmpeg.dsp:
Convert line endings to CRLF and mark files as binary.

17 years agogst-libs/ext/ffmpeg/: Recognise x86_64 builds and set flags appropriately so that the
Jan Schmidt [Tue, 5 Jun 2007 18:00:26 +0000 (18:00 +0000)]
gst-libs/ext/ffmpeg/: Recognise x86_64 builds and set flags appropriately so that the

Original commit message from CVS:
* gst-libs/ext/ffmpeg/configure.ac:
* gst-libs/ext/ffmpeg/patches/autotools.patch:
* gst-libs/ext/ffmpeg/patches/memalign.patch:
Recognise x86_64 builds and set flags appropriately so that the
MMX/SSE codepaths get enabled there - makes things considerably
faster.

17 years agoext/ffmpeg/gstffmpegcodecmap.c: Add MSMPEG4V3 video and MP3 audio to the asf muxer...
Wim Taymans [Tue, 5 Jun 2007 16:33:39 +0000 (16:33 +0000)]
ext/ffmpeg/gstffmpegcodecmap.c: Add MSMPEG4V3 video and MP3 audio to the asf muxer supported formats.

Original commit message from CVS:
Patch by: <bram at luon dot net>
* ext/ffmpeg/gstffmpegcodecmap.c:
(gst_ffmpeg_formatid_get_codecids):
Add MSMPEG4V3 video and MP3 audio to the asf muxer supported formats.
Fixes #444384.

17 years agoext/ffmpeg/gstffmpegdemux.c: Use total duration when the individual stream duration...
Jan Arne Petersen [Tue, 5 Jun 2007 13:58:30 +0000 (13:58 +0000)]
ext/ffmpeg/gstffmpegdemux.c: Use total duration when the individual stream duration is not known.

Original commit message from CVS:
Patch by: Jan Arne Petersen <jpetersen at jpetersen dot org>
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_src_query):
Use total duration when the individual stream duration is not known.
Fixes #375534.

17 years agoext/ffmpeg/gstffmpegscale.c: don't leak refcounts in event handler. Fixes #444332.
Laurent Glayal [Tue, 5 Jun 2007 13:41:54 +0000 (13:41 +0000)]
ext/ffmpeg/gstffmpegscale.c: don't leak refcounts in event handler. Fixes #444332.

Original commit message from CVS:
Patch by: Laurent Glayal <spglegle at yahoo dot fr>
* ext/ffmpeg/gstffmpegscale.c: (gst_ffmpegscale_handle_src_event):
don't leak refcounts in event handler. Fixes #444332.

17 years agoext/ffmpeg/gstffmpegdec.c: Be a bit smarter when clipping the frame without a duratio...
Wim Taymans [Fri, 25 May 2007 10:41:56 +0000 (10:41 +0000)]
ext/ffmpeg/gstffmpegdec.c: Be a bit smarter when clipping the frame without a duration, we don't want the frame to ex...

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (clip_video_buffer),
(gst_ffmpegdec_video_frame):
Be a bit smarter when clipping the frame without a duration, we don't
want the frame to extend to the end of the segment in this case.

17 years agoconfigure.ac: Add -no-undefined to GST_ALL_LDFLAGS; without it, no shared libs will...
Tim-Philipp Müller [Thu, 24 May 2007 08:51:52 +0000 (08:51 +0000)]
configure.ac: Add -no-undefined to GST_ALL_LDFLAGS; without it, no shared libs will be built or installed on MingW fo...

Original commit message from CVS:
* configure.ac:
Add -no-undefined to GST_ALL_LDFLAGS; without it, no shared libs
will be built or installed on MingW for our plugins in ext/; also,
it looks like the right thing to do and we do it for all our other
plugin modules as well. Fixes #440253.

17 years agoext/ffmpeg/gstffmpegdemux.c: Reduce the probability of the MPEG-TS typefinder, becaus...
Jan Schmidt [Mon, 21 May 2007 11:04:11 +0000 (11:04 +0000)]
ext/ffmpeg/gstffmpegdemux.c: Reduce the probability of the MPEG-TS typefinder, because there's a better one in recent...

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_type_find):
Reduce the probability of the MPEG-TS typefinder, because there's a
better one in recent base releases.

17 years agoFix the build on MacOSX. since the one shipped by Apple is from the middle ages and...
Edward Hervey [Thu, 17 May 2007 15:46:17 +0000 (15:46 +0000)]
Fix the build on MacOSX. since the one shipped by Apple is from the middle ages and is packed with issues.

Original commit message from CVS:
* configure.ac:
* ext/ffmpeg/Makefile.am:
* ext/libpostproc/Makefile.am:
Fix the build on MacOSX.
This requires a recent enough version of libtool (ex : 1.5.22), since
the one shipped by Apple is from the middle ages and is packed with
issues.
Fixes #435742

17 years agoext/ffmpeg/: Protect calls to ffmpeg functions that will implicitly call avcodec_open...
Edward Hervey [Wed, 9 May 2007 15:30:51 +0000 (15:30 +0000)]
ext/ffmpeg/: Protect calls to ffmpeg functions that will implicitly call avcodec_open/close with the avcodec mutex.

Original commit message from CVS:
* ext/ffmpeg/gstffmpeg.c: (gst_ffmpeg_av_find_stream_info):
* ext/ffmpeg/gstffmpeg.h:
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_open):
Protect calls to ffmpeg functions that will implicitly call
avcodec_open/close with the avcodec mutex.
Fixes #433245

17 years agoext/ffmpeg/gstffmpegdec.c: Fix timestamping for out-of-order incoming buffers. Instea...
Edward Hervey [Wed, 2 May 2007 16:06:09 +0000 (16:06 +0000)]
ext/ffmpeg/gstffmpegdec.c: Fix timestamping for out-of-order incoming buffers. Instead of blindly copying the incomin...

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_init),
(gst_ffmpegdec_open), (gst_ffmpegdec_save_incoming_values),
(gst_ffmpegdec_get_best_values), (gst_ffmpegdec_video_frame),
(gst_ffmpegdec_sink_event):
Fix timestamping for out-of-order incoming buffers. Instead of blindly
copying the incoming buffer timestamps on the outgoing buffers we cache
the latest 2 incoming buffer timestamps and duration and make a wise
choice as to what the outgoing buffer timestamp and duration should be.
Fixes #342962

17 years agoext/ffmpeg/gstffmpegcodecmap.c: Remove cruft inserted by wim's last commit.
Edward Hervey [Wed, 25 Apr 2007 10:19:01 +0000 (10:19 +0000)]
ext/ffmpeg/gstffmpegcodecmap.c: Remove cruft inserted by wim's last commit.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
(gst_ffmpeg_caps_to_codecid), (gst_ffmpeg_get_codecid_longname):
Remove cruft inserted by wim's last commit.

17 years agoext/ffmpeg/gstffmpegdemux.c: Allow ffmpeg typefinders to try and typefind very short...
Michael Smith [Fri, 20 Apr 2007 10:51:37 +0000 (10:51 +0000)]
ext/ffmpeg/gstffmpegdemux.c: Allow ffmpeg typefinders to try and typefind very short (<4kB) files.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_type_find):
Allow ffmpeg typefinders to try and typefind very short (<4kB)
files.