platform/upstream/gst-libav.git
18 years agoUpdate for state change type and macro changes.
Andy Wingo [Mon, 5 Sep 2005 14:06:29 +0000 (14:06 +0000)]
Update for state change type and macro changes.

Original commit message from CVS:
2005-09-05  Andy Wingo  <wingo@pobox.com>

* Update for state change type and macro changes.

18 years agoext/ffmpeg/gstffmpegenc.c: Fix return values from the setcaps function.
Wim Taymans [Fri, 19 Aug 2005 15:23:39 +0000 (15:23 +0000)]
ext/ffmpeg/gstffmpegenc.c: Fix return values from the setcaps function.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_setcaps),
(gst_ffmpegenc_chain_video), (gst_ffmpegenc_change_state):
Fix return values from the setcaps function.

18 years agoext/ffmpeg/gstffmpegdec.c: Handle return values of gst_pad_push().
Ronald S. Bultje [Tue, 16 Aug 2005 09:50:03 +0000 (09:50 +0000)]
ext/ffmpeg/gstffmpegdec.c: Handle return values of gst_pad_push().

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame),
(gst_ffmpegdec_sink_event), (gst_ffmpegdec_chain):
Handle return values of gst_pad_push().

18 years agoext/ffmpeg/gstffmpegcodecmap.c: Forwardport from 0.8 to implement QT-RLE.
Ronald S. Bultje [Mon, 15 Aug 2005 13:46:16 +0000 (13:46 +0000)]
ext/ffmpeg/gstffmpegcodecmap.c: Forwardport from 0.8 to implement QT-RLE.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps):
Forwardport from 0.8 to implement QT-RLE.

18 years agoext/ffmpeg/gstffmpegdec.c: Flush buffers in flush-stop, not flush-start, since the...
Ronald S. Bultje [Mon, 15 Aug 2005 13:27:03 +0000 (13:27 +0000)]
ext/ffmpeg/gstffmpegdec.c: Flush buffers in flush-stop, not flush-start, since the task is not stopped yet in flush-s...

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_sink_event):
Flush buffers in flush-stop, not flush-start, since the task is not
stopped yet in flush-stop, which may lead to odd crashes in random
places inside libavcodec.

18 years agoext/ffmpeg/gstffmpegcodecmap.c: Fix template to not allow fps=0.
Ronald S. Bultje [Tue, 9 Aug 2005 17:08:23 +0000 (17:08 +0000)]
ext/ffmpeg/gstffmpegcodecmap.c: Fix template to not allow fps=0.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcodecmap.c:
Fix template to not allow fps=0.

18 years agoBackport BRANCH-THREADED to HEAD, fix a bit.
Ronald S. Bultje [Fri, 5 Aug 2005 15:29:56 +0000 (15:29 +0000)]
Backport BRANCH-THREADED to HEAD, fix a bit.

Original commit message from CVS:
* configure.ac:
* ext/ffmpeg/Makefile.am:
* ext/ffmpeg/gstffmpeg.c: (plugin_init):
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_caps_with_codecid):
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_class_init),
(gst_ffmpegdec_init), (gst_ffmpegdec_query), (gst_ffmpegdec_event),
(gst_ffmpegdec_open), (gst_ffmpegdec_setcaps),
(gst_ffmpegdec_get_buffer), (gst_ffmpegdec_negotiate),
(gst_ffmpegdec_frame), (gst_ffmpegdec_sink_event),
(gst_ffmpegdec_chain), (gst_ffmpegdec_change_state),
(gst_ffmpegdec_register):
* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_class_init),
(gst_ffmpegenc_init), (gst_ffmpegenc_getcaps),
(gst_ffmpegenc_setcaps), (gst_ffmpegenc_chain_video),
(gst_ffmpegenc_chain_audio):
* ext/libpostproc/Makefile.am:
Backport BRANCH-THREADED to HEAD, fix a bit.

18 years agoRelease gst-ffmpeg 0.8.6 "Vamoz a la Playa". RELEASE-0_8_6
Ronald S. Bultje [Fri, 5 Aug 2005 12:00:23 +0000 (12:00 +0000)]
Release gst-ffmpeg 0.8.6 "Vamoz a la Playa".

Original commit message from CVS:
* NEWS:
* RELEASE:
* configure.ac:
Release gst-ffmpeg 0.8.6 "Vamoz a la Playa".

18 years agoext/ffmpeg/gstffmpegcodecmap.h: Actually initialize value (#311802).
Ronald S. Bultje [Thu, 28 Jul 2005 07:29:22 +0000 (07:29 +0000)]
ext/ffmpeg/gstffmpegcodecmap.h: Actually initialize value (#311802).

Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* ext/ffmpeg/gstffmpegcodecmap.h:
Actually initialize value (#311802).

18 years agoext/ffmpeg/: Use special functions for timestamp-conversion again, since we otherwise...
Ronald S. Bultje [Wed, 27 Jul 2005 16:03:51 +0000 (16:03 +0000)]
ext/ffmpeg/: Use special functions for timestamp-conversion again, since we otherwise don't handle clocktimenone corr...

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcodecmap.h:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_connect),
(gst_ffmpegdec_frame), (gst_ffmpegdec_chain):
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_loop):
* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_link),
(gst_ffmpegenc_chain_video):
* ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_loop):
Use special functions for timestamp-conversion again, since we
otherwise don't handle clocktimenone correctly (#311593).

19 years agoext/ffmpeg/gstffmpegcodecmap.c: Add x264 to muxer (it was added to template, but...
Ronald S. Bultje [Sat, 23 Jul 2005 22:10:29 +0000 (22:10 +0000)]
ext/ffmpeg/gstffmpegcodecmap.c: Add x264 to muxer (it was added to template, but I forgot to add h264 caps recognitio...

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_caps_to_codecid):
Add x264 to muxer (it was added to template, but I forgot to add
h264 caps recognition for some reason).

19 years agoext/ffmpeg/gstffmpegcodecmap.c: Make type explicit.
Ronald S. Bultje [Fri, 22 Jul 2005 16:07:02 +0000 (16:07 +0000)]
ext/ffmpeg/gstffmpegcodecmap.c: Make type explicit.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcodecmap.c:
Make type explicit.
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_release_buffer),
(gst_ffmpegdec_frame), (gst_ffmpegdec_chain),
(gst_ffmpegdec_change_state):
When we provide a buffer and get a valid return value (data was
read), but no output (have-data==0), then we need to reuse this
same output buffer, because it may be used for caching output
data. Fixes #307353.
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_loop):
Timestamp fix.

19 years agoext/: Update to ffmpeg snapshot of Jul 20 2005 4:00 PM GMT. Mostly some added codecs...
Ronald S. Bultje [Wed, 20 Jul 2005 15:40:57 +0000 (15:40 +0000)]
ext/: Update to ffmpeg snapshot of Jul 20 2005 4:00 PM GMT. Mostly some added codecs, some API changes, etc. Also add...

Original commit message from CVS:
* ext/ffmpeg/gstffmpeg.h:
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
(gst_ffmpeg_caps_to_pixfmt), (gst_ffmpeg_formatid_get_codecids),
(gst_ffmpeg_caps_to_codecid), (gst_ffmpeg_get_codecid_longname),
(gst_ffmpeg_img_convert):
* ext/ffmpeg/gstffmpegcodecmap.h:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_negotiate),
(gst_ffmpegdec_frame), (gst_ffmpegdec_chain),
(gst_ffmpegdec_register):
* ext/ffmpeg/gstffmpegdeinterlace.c:
(gst_ffmpegdeinterlace_getcaps), (gst_ffmpegdeinterlace_pad_link):
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_src_event),
(gst_ffmpegdemux_src_format_list), (gst_ffmpegdemux_src_query),
(gst_ffmpegdemux_src_convert), (gst_ffmpegdemux_add),
(gst_ffmpegdemux_register):
* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_getcaps),
(gst_ffmpegenc_link), (gst_ffmpegenc_chain_video),
(gst_ffmpegenc_chain_audio):
* ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_request_new_pad),
(gst_ffmpegmux_connect), (gst_ffmpegmux_loop),
(gst_ffmpegmux_register):
* ext/ffmpeg/gstffmpegprotocol.c: (gst_ffmpegdata_write):
* ext/ffmpeg/gstffmpegscale.c: (gst_ffmpegscale_pad_link):
* ext/libpostproc/gstpostproc.c: (gst_postproc_chain):
Update to ffmpeg snapshot of Jul 20 2005 4:00 PM GMT. Mostly
some added codecs, some API changes, etc. Also adds a VOB muxer
for MPEG-2 video and adds h264 to .mp4 muxing.

19 years agoext/ffmpeg/gstffmpegprotocol.c: Strip off private flags from context value (#310054).
Ronald S. Bultje [Sat, 16 Jul 2005 14:39:31 +0000 (14:39 +0000)]
ext/ffmpeg/gstffmpegprotocol.c: Strip off private flags from context value (#310054).

Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* ext/ffmpeg/gstffmpegprotocol.c: (gst_ffmpegdata_open):
Strip off private flags from context value (#310054).

19 years agoext/ffmpeg/gstffmpegdec.c (struct _GstFFMpegDec)
Luca Ognibene [Mon, 11 Jul 2005 13:51:45 +0000 (13:51 +0000)]
ext/ffmpeg/gstffmpegdec.c (struct _GstFFMpegDec)

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c (struct _GstFFMpegDec)
(gst_ffmpegdec_open, gst_ffmpegdec_negotiate):
Cache the pixel format value and renegotiate the pipeline
if this value changes. Fixes segfault when decoding a
stream with different colorspaces like a sequence of jpeg.

19 years agoext/ffmpeg/: Add a stream-header flag to set stream-header caps on some streams,...
Ronald S. Bultje [Mon, 11 Jul 2005 12:34:18 +0000 (12:34 +0000)]
ext/ffmpeg/: Add a stream-header flag to set stream-header caps on some streams, such as (in this case) flv (fixes #3...

Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* ext/ffmpeg/gstffmpeg.h:
* ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_loop):
* ext/ffmpeg/gstffmpegprotocol.c: (gst_ffmpegdata_open),
(gst_ffmpegdata_write):
Add a stream-header flag to set stream-header caps on some streams,
such as (in this case) flv (fixes #309051).

19 years agoext/ffmpeg/gstffmpegdemux.c: timestamp is a GstClockTime, not a double..
Luca Ognibene [Mon, 27 Jun 2005 21:51:37 +0000 (21:51 +0000)]
ext/ffmpeg/gstffmpegdemux.c: timestamp is a GstClockTime, not a double..

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_loop):
timestamp is a GstClockTime, not a double..
fix #309149 and maybe others bug

19 years agoext/ffmpeg/: more DELTA_UNIT / KEY_UNIT fixes
Luca Ognibene [Mon, 27 Jun 2005 21:02:40 +0000 (21:02 +0000)]
ext/ffmpeg/: more DELTA_UNIT / KEY_UNIT fixes

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_loop):
* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_chain_video):
more DELTA_UNIT / KEY_UNIT fixes

19 years agoext/ffmpeg/gstffmpegcodecmap.c: add flv encoder, fix #309050
Luca Ognibene [Mon, 27 Jun 2005 20:41:55 +0000 (20:41 +0000)]
ext/ffmpeg/gstffmpegcodecmap.c: add flv encoder, fix #309050

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_formatid_to_caps),
(gst_ffmpeg_formatid_get_codecids), (gst_ffmpeg_caps_to_codecid):
add flv encoder, fix #309050

* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame):
set both DELTA_UNIT and KEY_UNIT

* ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_loop):
use DELTA_UNIT and not the deprecated KEY_UNIT
fix #309049

19 years agoext/libpostproc/gstpostproc.*: fix debug output
Luca Ognibene [Sat, 25 Jun 2005 21:19:33 +0000 (21:19 +0000)]
ext/libpostproc/gstpostproc.*: fix debug output

Original commit message from CVS:
* ext/libpostproc/gstpostproc.c: (gst_ffmpeg_log_callback),
(plugin_init):
* ext/libpostproc/gstpostproc.h:
fix debug output

19 years agoext/ffmpeg/gstffmpegenc.c (gst_ffmpegenc_chain_video): set the GST_BUFFER_DELTA_UNIT...
Luca Ognibene [Sat, 25 Jun 2005 15:33:29 +0000 (15:33 +0000)]
ext/ffmpeg/gstffmpegenc.c (gst_ffmpegenc_chain_video): set the GST_BUFFER_DELTA_UNIT while encoding fix #308804

Original commit message from CVS:
Reviewed by: Luca Ognibene <luogni@tin.it>

* ext/ffmpeg/gstffmpegenc.c (gst_ffmpegenc_chain_video):
set the GST_BUFFER_DELTA_UNIT while encoding
fix #308804

19 years agoext/libpostproc/gstpostproc.c: It works better when filing the hash_table BEFORE...
Edward Hervey [Mon, 20 Jun 2005 13:44:06 +0000 (13:44 +0000)]
ext/libpostproc/gstpostproc.c: It works better when filing the hash_table BEFORE registering the element.

Original commit message from CVS:
* ext/libpostproc/gstpostproc.c: (gst_postproc_register):
It works better when filing the hash_table BEFORE registering the element.

19 years agoext/: ffmpeg's libpostproc wrapper plugins
Edward Hervey [Mon, 20 Jun 2005 13:07:52 +0000 (13:07 +0000)]
ext/: ffmpeg's libpostproc wrapper plugins

Original commit message from CVS:
* ext/Makefile.am: (SUBDIRS):
* ext/libpostproc:
* ext/libpostproc/Makefile.am:
* ext/libpostproc/gstpostproc.c:
* ext/libpostproc/gstpostproc.h:
ffmpeg's libpostproc wrapper plugins
* configure.ac:
added --enable-pp to ffmpeg configure arguments

19 years agoconfigure.ac: Dev mode.
Ronald S. Bultje [Fri, 10 Jun 2005 23:57:08 +0000 (23:57 +0000)]
configure.ac: Dev mode.

Original commit message from CVS:
* configure.ac:
Dev mode.

19 years agoRelease 0.8.5 "For the better of the world". RELEASE-0_8_5
Ronald S. Bultje [Fri, 10 Jun 2005 23:55:38 +0000 (23:55 +0000)]
Release 0.8.5 "For the better of the world".

Original commit message from CVS:
* NEWS:
* RELEASE:
* TODO:
* configure.ac:
Release 0.8.5 "For the better of the world".
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_caps_with_codecid):
Stay backwards compatible a short while longer (SVQ3).

19 years agoext/ffmpeg/gstffmpegdec.c: Only do timestamp interpolation for delayed streams (conta...
Ronald S. Bultje [Thu, 9 Jun 2005 09:53:04 +0000 (09:53 +0000)]
ext/ffmpeg/gstffmpegdec.c: Only do timestamp interpolation for delayed streams (containing

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame):
Only do timestamp interpolation for delayed streams (containing
B-frames). Fixes stuttering playback of ASF files (#306770).

19 years agoext/ffmpeg/gstffmpegcodecmap.c: Remove weird flags from SVQ3 flags and just give...
Ronald S. Bultje [Thu, 9 Jun 2005 09:39:38 +0000 (09:39 +0000)]
ext/ffmpeg/gstffmpegcodecmap.c: Remove weird flags from SVQ3 flags and just give full atom, like other files; fixes f...

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
(gst_ffmpeg_caps_with_codecid):
Remove weird flags from SVQ3 flags and just give full atom,
like other files; fixes frame order problems (#306530).

19 years agoext/ffmpeg/gstffmpegdec.c (gst_ffmpegdec_change_state): First close the ffmpeg contex...
Luca Ognibene [Wed, 8 Jun 2005 18:29:39 +0000 (18:29 +0000)]
ext/ffmpeg/gstffmpegdec.c (gst_ffmpegdec_change_state): First close the ffmpeg context than try to free last_buffer. ...

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c (gst_ffmpegdec_change_state):
First close the ffmpeg context than try to free last_buffer.
fix #306893

19 years agoext/ffmpeg/gstffmpegdec.c: Disable parsing on h264 for now, seems to break avc decoding.
Ronald S. Bultje [Fri, 3 Jun 2005 13:44:04 +0000 (13:44 +0000)]
ext/ffmpeg/gstffmpegdec.c: Disable parsing on h264 for now, seems to break avc decoding.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_open),
(gst_ffmpegdec_handle_event), (gst_ffmpegdec_register):
Disable parsing on h264 for now, seems to break avc decoding.

19 years agoconfigure.ac: scale requires -libs (video.h).
Ronald S. Bultje [Fri, 3 Jun 2005 11:34:13 +0000 (11:34 +0000)]
configure.ac: scale requires -libs (video.h).

Original commit message from CVS:
* configure.ac:
scale requires -libs (video.h).
* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_getcaps):
Don't crash if open failed.

19 years agoext/ffmpeg/gstffmpegdeinterlace.c (gst_ffmpegdeinterlace_chain): Always stamp your...
Luca Ognibene [Tue, 24 May 2005 12:16:32 +0000 (12:16 +0000)]
ext/ffmpeg/gstffmpegdeinterlace.c (gst_ffmpegdeinterlace_chain): Always stamp your buffers ! (ooops)

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdeinterlace.c (gst_ffmpegdeinterlace_chain):
Always stamp your buffers ! (ooops)

19 years agoext/ffmpeg/gstffmpegscale.c: Always stamp your buffers !
Edward Hervey [Tue, 24 May 2005 09:06:00 +0000 (09:06 +0000)]
ext/ffmpeg/gstffmpegscale.c: Always stamp your buffers !

Original commit message from CVS:
* ext/ffmpeg/gstffmpegscale.c: (gst_ffmpegscale_chain):
Always stamp your buffers !

19 years agoext/ffmpeg/gstffmpegcodecmap.c (gst_ffmpeg_pixfmt_to_caps): Add YUV444P format as...
Luca Ognibene [Tue, 17 May 2005 18:29:17 +0000 (18:29 +0000)]
ext/ffmpeg/gstffmpegcodecmap.c (gst_ffmpeg_pixfmt_to_caps): Add YUV444P format as Y444

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcodecmap.c (gst_ffmpeg_pixfmt_to_caps):
Add YUV444P format as Y444

19 years agoext/ffmpeg/: Add ffdeinterlace element
Luca Ognibene [Sun, 15 May 2005 19:21:04 +0000 (19:21 +0000)]
ext/ffmpeg/: Add ffdeinterlace element

Original commit message from CVS:
* ext/ffmpeg/Makefile.am:
* ext/ffmpeg/gstffmpegdeinterlace.c:
* ext/ffmpeg/gstffmpeg.c (plugin_init):
Add ffdeinterlace element
* TODO:
yo, another thing removed from the TODO

19 years agoext/ffmpeg/gstffmpegscale.c (gst_ffmpegscale_change_state): Don't segfault if using...
Luca Ognibene [Sat, 14 May 2005 13:19:31 +0000 (13:19 +0000)]
ext/ffmpeg/gstffmpegscale.c (gst_ffmpegscale_change_state): Don't segfault if using passthrough

Original commit message from CVS:
* ext/ffmpeg/gstffmpegscale.c (gst_ffmpegscale_change_state):
Don't segfault if using passthrough

19 years agoext/ffmpeg/: Add ffvideoscale element (#303727)
Luca Ognibene [Fri, 13 May 2005 15:46:42 +0000 (15:46 +0000)]
ext/ffmpeg/: Add ffvideoscale element (#303727)

Original commit message from CVS:
* ext/ffmpeg/gstffmpeg.c (plugin_init):
* ext/ffmpeg/Makefile.am:
* ext/ffmpeg/gstffmpegscale.c:
Add ffvideoscale element (#303727)

* TODO:
update TODO

19 years agoext/ffmpeg/gstffmpegcodecmap.c (gst_ffmpeg_pixfmt_to_caps): Add support for GRAY8...
Luca Ognibene [Fri, 13 May 2005 14:33:09 +0000 (14:33 +0000)]
ext/ffmpeg/gstffmpegcodecmap.c (gst_ffmpeg_pixfmt_to_caps): Add support for GRAY8 colorspace

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcodecmap.c (gst_ffmpeg_pixfmt_to_caps):
Add support for GRAY8 colorspace

19 years agochange my email in the ChangeLog
Luca Ognibene [Wed, 11 May 2005 15:19:45 +0000 (15:19 +0000)]
change my email in the ChangeLog

Original commit message from CVS:
change my email in the ChangeLog

19 years agoext/ffmpeg/: Makes ffmpegdec and ffmpegenc use these functions and remove a comment...
Luca Ognibene [Wed, 11 May 2005 15:18:23 +0000 (15:18 +0000)]
ext/ffmpeg/: Makes ffmpegdec and ffmpegenc use these functions and remove a comment from a previuos patch

Original commit message from CVS:
* ext/ffmpeg/gstffmpegenc.c (gst_ffmpegenc_chain_video):
* ext/ffmpeg/gstffmpegdec.c (gst_ffmpegdec_chain):
Makes ffmpegdec and ffmpegenc use these functions
and remove a comment from a previuos patch

* ext/ffmpeg/gstffmpegcodecmap.h:
Add two utility functions to convert the pts from/to
the ffmpeg format

19 years agoext/ffmpeg/gstffmpegdec.c: Re-re-enable get_/release_buffer functions, removes a...
Ronald S. Bultje [Fri, 6 May 2005 07:47:50 +0000 (07:47 +0000)]
ext/ffmpeg/gstffmpegdec.c: Re-re-enable get_/release_buffer functions, removes a few more percent of our CPU usage (#...

Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_init),
(gst_ffmpegdec_open), (gst_ffmpegdec_connect),
(gst_ffmpegdec_get_buffer), (gst_ffmpegdec_release_buffer),
(gst_ffmpegdec_frame), (gst_ffmpegdec_change_state):
Re-re-enable get_/release_buffer functions, removes a few more
percent of our CPU usage (#301783).

19 years agoext/ffmpeg/gstffmpegcodecmap.c: Add JPEG-formatted YUV enums.
Ronald S. Bultje [Mon, 2 May 2005 09:12:59 +0000 (09:12 +0000)]
ext/ffmpeg/gstffmpegcodecmap.c: Add JPEG-formatted YUV enums.

Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_pixfmt_to_caps):
Add JPEG-formatted YUV enums.

19 years agoext/ffmpeg/gstffmpegmux.c: Fix possible segfaults (#302017).
Ronald S. Bultje [Sun, 1 May 2005 10:15:33 +0000 (10:15 +0000)]
ext/ffmpeg/gstffmpegmux.c: Fix possible segfaults (#302017).

Original commit message from CVS:
* ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_class_init),
(gst_ffmpegmux_finalize), (gst_ffmpegmux_loop),
(gst_ffmpegmux_change_state):
Fix possible segfaults (#302017).

19 years agoext/ffmpeg/gstffmpegdec.c: Use CODEC_CAP_DELAY and remove max-10-delayed-frames hack.
Ronald S. Bultje [Mon, 25 Apr 2005 18:16:20 +0000 (18:16 +0000)]
ext/ffmpeg/gstffmpegdec.c: Use CODEC_CAP_DELAY and remove max-10-delayed-frames hack.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_handle_event):
Use CODEC_CAP_DELAY and remove max-10-delayed-frames hack.

19 years agoext/ffmpeg/gstffmpegenc.c: Don't crash if avcodec_open failed (#301717).
Ronald S. Bultje [Sat, 23 Apr 2005 16:07:34 +0000 (16:07 +0000)]
ext/ffmpeg/gstffmpegenc.c: Don't crash if avcodec_open failed (#301717).

Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_getcaps):
Don't crash if avcodec_open failed (#301717).

19 years agoext/ffmpeg/gstffmpegdemux.c: Re-disable mov typefinding which breaks mov playback.
Ronald S. Bultje [Thu, 21 Apr 2005 19:51:05 +0000 (19:51 +0000)]
ext/ffmpeg/gstffmpegdemux.c: Re-disable mov typefinding which breaks mov playback.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):
Re-disable mov typefinding which breaks mov playback.

19 years agoext/ffmpeg/gstffmpegcodecmap.c: Add ALAC, shorten and some more in new FFMPEG snapsho...
Ronald S. Bultje [Thu, 21 Apr 2005 19:01:36 +0000 (19:01 +0000)]
ext/ffmpeg/gstffmpegcodecmap.c: Add ALAC, shorten and some more in new FFMPEG snapshot of 21/4, somewhere this aftern...

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
(gst_ffmpeg_caps_with_codecid), (gst_ffmpeg_caps_to_codecid),
(gst_ffmpeg_get_codecid_longname):
Add ALAC, shorten and some more in new FFMPEG snapshot of
21/4, somewhere this afternoon.
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_register):
* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_register):
Add warnings to decoder registration to easier add new ones
during snapshot updates.

19 years agoext/ffmpeg/gstffmpegcodecmap.c: Enable MPEG muxer.
Ronald S. Bultje [Thu, 21 Apr 2005 14:19:21 +0000 (14:19 +0000)]
ext/ffmpeg/gstffmpegcodecmap.c: Enable MPEG muxer.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcodecmap.c:
(gst_ffmpeg_formatid_get_codecids):
Enable MPEG muxer.

19 years agoext/ffmpeg/gstffmpegdec.c: Next try at using pad_alloc_buffer (#300923).
Ronald S. Bultje [Mon, 18 Apr 2005 09:51:44 +0000 (09:51 +0000)]
ext/ffmpeg/gstffmpegdec.c: Next try at using pad_alloc_buffer (#300923).

Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame):
Next try at using pad_alloc_buffer (#300923).

19 years agoext/ffmpeg/gstffmpegdec.c: Revert previous, we cannot call pad_alloc_buffer() before...
Ronald S. Bultje [Sat, 16 Apr 2005 15:05:58 +0000 (15:05 +0000)]
ext/ffmpeg/gstffmpegdec.c: Revert previous, we cannot call pad_alloc_buffer() before being negotiated.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame):
Revert previous, we cannot call pad_alloc_buffer() before being
negotiated.

19 years agoext/ffmpeg/gstffmpegdec.c: Use gst_pad_alloc_buffer().
Ronald S. Bultje [Sat, 16 Apr 2005 14:56:08 +0000 (14:56 +0000)]
ext/ffmpeg/gstffmpegdec.c: Use gst_pad_alloc_buffer().

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame):
Use gst_pad_alloc_buffer().

19 years agoext/ffmpeg/gstffmpegdec.c: Safety bet to not completely crush the system on EOS....
Ronald S. Bultje [Thu, 14 Apr 2005 10:50:15 +0000 (10:50 +0000)]
ext/ffmpeg/gstffmpegdec.c: Safety bet to not completely crush the system on EOS. Fixes the bad behaviour of #300200 (...

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_handle_event):
Safety bet to not completely crush the system on EOS. Fixes the
bad behaviour of #300200 (doesn't fix the actual issue).

19 years agoext/ffmpeg/gstffmpegdec.c: Fix breakage of testsuite by adding keyframe syncing;...
Ronald S. Bultje [Sat, 2 Apr 2005 10:01:20 +0000 (10:01 +0000)]
ext/ffmpeg/gstffmpegdec.c: Fix breakage of testsuite by adding keyframe syncing; changed to sync only for some stream...

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_open),
(gst_ffmpegdec_handle_event):
Fix breakage of testsuite by adding keyframe syncing; changed
to sync only for some streamtypes (MPEG-2/-4, for now).
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_add):
Add tags.

19 years agoext/ffmpeg/gstffmpegdec.c: Implement keyframe syncing.
Ronald S. Bultje [Fri, 1 Apr 2005 10:09:15 +0000 (10:09 +0000)]
ext/ffmpeg/gstffmpegdec.c: Implement keyframe syncing.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_init),
(gst_ffmpegdec_open), (gst_ffmpegdec_frame),
(gst_ffmpegdec_handle_event):
Implement keyframe syncing.

19 years agoext/ffmpeg/gstffmpeg.c: Enable muxers (only mp4 muxer for now).
Ronald S. Bultje [Mon, 14 Mar 2005 15:27:43 +0000 (15:27 +0000)]
ext/ffmpeg/gstffmpeg.c: Enable muxers (only mp4 muxer for now).

Original commit message from CVS:
* ext/ffmpeg/gstffmpeg.c: (plugin_init):
Enable muxers (only mp4 muxer for now).
* ext/ffmpeg/gstffmpegcodecmap.c:
(gst_ffmpeg_formatid_get_codecids), (gst_ffmpeg_caps_to_codecid):
* ext/ffmpeg/gstffmpegcodecmap.h:
Fix a bunch of typos in codec-id lookup (false/true return value
mixup), add a codec-id list retrieval function (because ffmpeg
does not provide one). With that, we can make valid pad templates.
* ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_init),
(gst_ffmpegmux_connect), (gst_ffmpegmux_loop),
(gst_ffmpegmux_change_state), (gst_ffmpegmux_get_id_caps),
(gst_ffmpegmux_register):
Fix for whatever changed since I last tried this. Works for MP4
muxing.
* ext/ffmpeg/gstffmpegprotocol.c: (gst_ffmpegdata_open),
(gst_ffmpegdata_peek), (gst_ffmpegdata_write),
(gst_ffmpegdata_seek), (gst_ffmpegdata_close):
Update obviously-untested write code...

19 years agoext/ffmpeg/gstffmpegenc.c: Fix crash on randomly sized input (#169082).
Ronald S. Bultje [Sat, 12 Mar 2005 23:59:15 +0000 (23:59 +0000)]
ext/ffmpeg/gstffmpegenc.c: Fix crash on randomly sized input (#169082).

Original commit message from CVS:
* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_chain_video):
Fix crash on randomly sized input (#169082).

19 years agoconfigure.ac: Dev.
Ronald S. Bultje [Fri, 11 Mar 2005 10:51:11 +0000 (10:51 +0000)]
configure.ac: Dev.

Original commit message from CVS:
* configure.ac:
Dev.

19 years agoRelease 0.8.4 "Mellow on my fingers". RELEASE-0_8_4
Ronald S. Bultje [Fri, 11 Mar 2005 10:49:57 +0000 (10:49 +0000)]
Release 0.8.4 "Mellow on my fingers".

Original commit message from CVS:
* NEWS:
* RELEASE:
* configure.ac:
Release 0.8.4 "Mellow on my fingers".

19 years agoext/ffmpeg/gstffmpegcodecmap.c: Add MPEG-4 audio for debugging.
Ronald S. Bultje [Sun, 6 Mar 2005 13:38:53 +0000 (13:38 +0000)]
ext/ffmpeg/gstffmpegcodecmap.c: Add MPEG-4 audio for debugging.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps):
Add MPEG-4 audio for debugging.

19 years agoext/ffmpeg/gstffmpegenc.c: Only free context if it was created (otherwise it crashes).
Ronald S. Bultje [Sat, 5 Feb 2005 18:35:18 +0000 (18:35 +0000)]
ext/ffmpeg/gstffmpegenc.c: Only free context if it was created (otherwise it crashes).

Original commit message from CVS:
* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_link):
Only free context if it was created (otherwise it crashes).

19 years agoext/ffmpeg/gstffmpegdec.c: Reduce the rank of the mpeg2 decoder back below mpeg2dec
Jan Schmidt [Thu, 3 Feb 2005 17:19:06 +0000 (17:19 +0000)]
ext/ffmpeg/gstffmpegdec.c: Reduce the rank of the mpeg2 decoder back below mpeg2dec

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame),
(gst_ffmpegdec_chain), (gst_ffmpegdec_register):
Reduce the rank of the mpeg2 decoder back below mpeg2dec
Use the parser to reorder pts times. Fixes mpeg playback
without changing any other files I tested.
Use the repeat_pict flag to correctly set durations

19 years agoext/ffmpeg/gstffmpegcodecmap.c: Change caps of MJPEGB to not interfere with MJPEG...
Ronald S. Bultje [Thu, 3 Feb 2005 11:12:34 +0000 (11:12 +0000)]
ext/ffmpeg/gstffmpegcodecmap.c: Change caps of MJPEGB to not interfere with MJPEG/JPEG.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
(gst_ffmpeg_caps_to_codecid):
Change caps of MJPEGB to not interfere with MJPEG/JPEG.
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_register):
Remove rank for SP5X, no clue what that is...

19 years agoext/ffmpeg/gstffmpegdec.c: Don´t SIGFPE right away.
Ronald S. Bultje [Tue, 1 Feb 2005 21:15:20 +0000 (21:15 +0000)]
ext/ffmpeg/gstffmpegdec.c: Don´t SIGFPE right away.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame):
Don´t SIGFPE right away.

19 years agoext/ffmpeg/gstffmpegdec.c: Implement B-frame skipping and low-resolution decoding...
Ronald S. Bultje [Mon, 31 Jan 2005 10:45:20 +0000 (10:45 +0000)]
ext/ffmpeg/gstffmpegdec.c: Implement B-frame skipping and low-resolution decoding (useful for very slow CPUs).

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_lowres_get_type),
(gst_ffmpegdec_skipframe_get_type), (gst_ffmpegdec_class_init),
(gst_ffmpegdec_init), (gst_ffmpegdec_connect),
(gst_ffmpegdec_frame), (gst_ffmpegdec_set_property),
(gst_ffmpegdec_get_property):
Implement B-frame skipping and low-resolution decoding (useful
for very slow CPUs).

19 years agoext/ffmpeg/: Oops, unbreak audio.
Ronald S. Bultje [Fri, 28 Jan 2005 12:22:54 +0000 (12:22 +0000)]
ext/ffmpeg/: Oops, unbreak audio.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_register):
* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_register):
Oops, unbreak audio.

19 years agoext/ffmpeg/gstffmpegcodecmap.c: Add AMR mimetypes (since those are recognized in...
Ronald S. Bultje [Fri, 28 Jan 2005 10:45:37 +0000 (10:45 +0000)]
ext/ffmpeg/gstffmpegcodecmap.c: Add AMR mimetypes (since those are recognized in ffmpeg).

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
(gst_ffmpeg_caps_to_codecid):
Add AMR mimetypes (since those are recognized in ffmpeg).
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame),
(gst_ffmpegdec_register):
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):
* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_register):
Register law codecs too, add time debug. Use ANY for template caps
since we don't necessarily have available decoders for recognized
formats.

19 years agoext/ffmpeg/gstffmpeg.c: Fix compile with debug disabled (#165250).
Ronald S. Bultje [Thu, 27 Jan 2005 10:21:07 +0000 (10:21 +0000)]
ext/ffmpeg/gstffmpeg.c: Fix compile with debug disabled (#165250).

Original commit message from CVS:
* ext/ffmpeg/gstffmpeg.c: (plugin_init):
Fix compile with debug disabled (#165250).

19 years agoext/ffmpeg/gstffmpegprotocol.c: Yet Another Logic Error.
Ronald S. Bultje [Tue, 25 Jan 2005 17:10:04 +0000 (17:10 +0000)]
ext/ffmpeg/gstffmpegprotocol.c: Yet Another Logic Error.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegprotocol.c: (gst_ffmpegdata_peek):
Yet Another Logic Error.

19 years agoext/ffmpeg/gstffmpegdec.c: <insert rant about why gcc should support parsing errors>.
Ronald S. Bultje [Tue, 25 Jan 2005 16:56:45 +0000 (16:56 +0000)]
ext/ffmpeg/gstffmpegdec.c: <insert rant about why gcc should support parsing errors>.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_negotiate):
<insert rant about why gcc should support parsing errors>.

19 years agoext/ffmpeg/gstffmpegcodecmap.c: Add extradata to huffyuv, sync RGBA32 up with gst...
Ronald S. Bultje [Tue, 25 Jan 2005 15:17:44 +0000 (15:17 +0000)]
ext/ffmpeg/gstffmpegcodecmap.c: Add extradata to huffyuv, sync RGBA32 up with gst-plugins.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
(gst_ffmpeg_pixfmt_to_caps), (gst_ffmpeg_caps_to_pixfmt):
Add extradata to huffyuv, sync RGBA32 up with gst-plugins.
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_query),
(gst_ffmpegdec_event):
Make somewhat clearer.

19 years agoTODO: Update since some tasks are done.
Ronald S. Bultje [Wed, 19 Jan 2005 17:25:29 +0000 (17:25 +0000)]
TODO: Update since some tasks are done.

Original commit message from CVS:
* TODO:
Update since some tasks are done.
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_formatid_to_caps):
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_type_find):
Add correct mimetype for FLI video, restore correct typefind
priority.

19 years agoext/ffmpeg/gstffmpegdec.c: More debug, re-fix MPEG-2 (yes, I broke it already!).
Ronald S. Bultje [Wed, 19 Jan 2005 16:08:17 +0000 (16:08 +0000)]
ext/ffmpeg/gstffmpegdec.c: More debug, re-fix MPEG-2 (yes, I broke it already!).

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_connect),
(gst_ffmpegdec_frame), (gst_ffmpegdec_handle_event),
(gst_ffmpegdec_chain):
More debug, re-fix MPEG-2 (yes, I broke it already!).

19 years agoext/ffmpeg/gstffmpegdec.c: Another fix for MPEG-4 movies...
Ronald S. Bultje [Wed, 19 Jan 2005 15:41:35 +0000 (15:41 +0000)]
ext/ffmpeg/gstffmpegdec.c: Another fix for MPEG-4 movies...

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_handle_event),
(gst_ffmpegdec_chain):
Another fix for MPEG-4 movies...

19 years agoext/ffmpeg/gstffmpegdec.c: Add some more debug, fix for B-frame containing XviD movies.
Ronald S. Bultje [Wed, 19 Jan 2005 15:34:14 +0000 (15:34 +0000)]
ext/ffmpeg/gstffmpegdec.c: Add some more debug, fix for B-frame containing XviD movies.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_open),
(gst_ffmpegdec_connect), (gst_ffmpegdec_negotiate),
(gst_ffmpegdec_frame), (gst_ffmpegdec_handle_event):
Add some more debug, fix for B-frame containing XviD movies.

19 years agoext/ffmpeg/gstffmpegdec.c: Only flush when the codec is opened.
Ronald S. Bultje [Wed, 19 Jan 2005 14:32:49 +0000 (14:32 +0000)]
ext/ffmpeg/gstffmpegdec.c: Only flush when the codec is opened.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_handle_event):
Only flush when the codec is opened.

19 years agoext/ffmpeg/: Re-add H263I as intel-h263 (which is not h263-compliant...).
Ronald S. Bultje [Wed, 19 Jan 2005 12:41:34 +0000 (12:41 +0000)]
ext/ffmpeg/: Re-add H263I as intel-h263 (which is not h263-compliant...).

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
(gst_ffmpeg_caps_to_codecid), (gst_ffmpeg_get_codecid_longname):
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_register):
Re-add H263I as intel-h263 (which is not h263-compliant...).
Increase rank of mpeg2video since it plays more videos than
its gst-plugins counterpart, with no regressions.

19 years agoext/ffmpeg/gstffmpegdec.c: Don't unref NULL data...
Ronald S. Bultje [Wed, 19 Jan 2005 12:04:57 +0000 (12:04 +0000)]
ext/ffmpeg/gstffmpegdec.c: Don't unref NULL data...

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame):
Don't unref NULL data...

19 years agoext/ffmpeg/gstffmpegdec.c: Add B-frame timestamp smoothing.
Ronald S. Bultje [Wed, 19 Jan 2005 11:46:49 +0000 (11:46 +0000)]
ext/ffmpeg/gstffmpegdec.c: Add B-frame timestamp smoothing.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_init),
(gst_ffmpegdec_open), (gst_ffmpegdec_frame),
(gst_ffmpegdec_handle_event), (gst_ffmpegdec_chain):
Add B-frame timestamp smoothing.

19 years agoext/ffmpeg/gstffmpegdec.c: Separate buffer handling from actual decoding, handle...
Ronald S. Bultje [Tue, 18 Jan 2005 23:19:46 +0000 (23:19 +0000)]
ext/ffmpeg/gstffmpegdec.c: Separate buffer handling from actual decoding, handle pending frames (for B-frames and so ...

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame),
(gst_ffmpegdec_chain):
Separate buffer handling from actual decoding, handle pending
frames (for B-frames and so on) so we catch the last frames
before EOS, prepare for some timestamp changes to make playback
of movies with B-frames smoother (not done yet).

19 years agoext/ffmpeg/: Add simple query functions. Seeking is only cosmetic, it's not actually...
Ronald S. Bultje [Tue, 18 Jan 2005 21:33:42 +0000 (21:33 +0000)]
ext/ffmpeg/: Add simple query functions. Seeking is only cosmetic, it's not actually filled in yet (in ffmpegdec).

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_init),
(gst_ffmpegdec_query), (gst_ffmpegdec_event), (gst_ffmpegdec_open),
(gst_ffmpegdec_negotiate), (gst_ffmpegdec_chain):
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_init),
(gst_ffmpegdemux_close), (gst_ffmpegdemux_src_query),
(gst_ffmpegdemux_loop):
Add simple query functions. Seeking is only cosmetic, it's not
actually filled in yet (in ffmpegdec).

19 years agoext/ffmpeg/gstffmpegenc.c: Remove EMU_EDGE, since that really fixes #162905. Revert...
Ronald S. Bultje [Mon, 17 Jan 2005 13:35:06 +0000 (13:35 +0000)]
ext/ffmpeg/gstffmpegenc.c: Remove EMU_EDGE, since that really fixes #162905. Revert previous hacks.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_init),
(gst_ffmpegenc_link), (gst_ffmpegenc_chain_video):
Remove EMU_EDGE, since that really fixes #162905. Revert
previous hacks.

19 years agoext/ffmpeg/gstffmpegenc.c: Unref after encode (#162905).
Ronald S. Bultje [Sun, 16 Jan 2005 12:15:10 +0000 (12:15 +0000)]
ext/ffmpeg/gstffmpegenc.c: Unref after encode (#162905).

Original commit message from CVS:
* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_chain_video):
Unref after encode (#162905).

19 years agoext/ffmpeg/gstffmpegenc.c: Workaround memory issues (#162905).
Ronald S. Bultje [Sun, 16 Jan 2005 11:29:28 +0000 (11:29 +0000)]
ext/ffmpeg/gstffmpegenc.c: Workaround memory issues (#162905).

Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_link),
(gst_ffmpegenc_chain_video):
Workaround memory issues (#162905).

19 years agoext/ffmpeg/gstffmpegdemux.c: Decrease certainty a bit so we use flxdec for .flx videos.
Ronald S. Bultje [Mon, 10 Jan 2005 13:23:21 +0000 (13:23 +0000)]
ext/ffmpeg/gstffmpegdemux.c: Decrease certainty a bit so we use flxdec for .flx videos.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_type_find):
Decrease certainty a bit so we use flxdec for .flx videos.

19 years agoext/ffmpeg/gstffmpegenc.c: Call parent.
Ronald S. Bultje [Sun, 9 Jan 2005 21:47:26 +0000 (21:47 +0000)]
ext/ffmpeg/gstffmpegenc.c: Call parent.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_dispose):
Call parent.

19 years agoext/ffmpeg/gstffmpegdec.c: Disable parsing for MJPEG input since that's already cut...
Ronald S. Bultje [Sun, 9 Jan 2005 01:30:05 +0000 (01:30 +0000)]
ext/ffmpeg/gstffmpegdec.c: Disable parsing for MJPEG input since that's already cut at frame-boundaries. Fixes #163340.

Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain):
Disable parsing for MJPEG input since that's already cut at
frame-boundaries. Fixes #163340.

19 years agoext/ffmpeg/gstffmpegcodecmap.c: Set property incompatible with DV demuxer so that...
Ronald S. Bultje [Thu, 6 Jan 2005 10:28:18 +0000 (10:28 +0000)]
ext/ffmpeg/gstffmpegcodecmap.c: Set property incompatible with DV demuxer so that it won't infinitely plug demuxers t...

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
(gst_ffmpeg_caps_to_codecid):
Set property incompatible with DV demuxer so that it won't
infinitely plug demuxers to each other. Fixes playback of .dv
streams in Totem.

19 years agoconfigure.ac: Dev.
Ronald S. Bultje [Mon, 27 Dec 2004 19:31:44 +0000 (19:31 +0000)]
configure.ac: Dev.

Original commit message from CVS:
* configure.ac:
Dev.

19 years agoRelease 0.8.3 RELEASE-0_8_3
Ronald S. Bultje [Mon, 27 Dec 2004 19:30:30 +0000 (19:30 +0000)]
Release 0.8.3

Original commit message from CVS:
Release 0.8.3

19 years agoext/ffmpeg/gstffmpegdemux.c: Don't cripple rank as a hack to not register typefind...
Ronald S. Bultje [Sat, 25 Dec 2004 13:28:55 +0000 (13:28 +0000)]
ext/ffmpeg/gstffmpegdemux.c: Don't cripple rank as a hack to not register typefind functions.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):
Don't cripple rank as a hack to not register typefind functions.
Instead, just use a boolean for that. This makes ID3-tagged MP3
files play even if mad is not installed.

19 years agoext/ffmpeg/gstffmpegdec.c: Remove rank from ffdec_h263i until I know how it's differe...
Ronald S. Bultje [Sun, 19 Dec 2004 23:41:03 +0000 (23:41 +0000)]
ext/ffmpeg/gstffmpegdec.c: Remove rank from ffdec_h263i until I know how it's different from ffdec_h263. Fixes #155163.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_register):
Remove rank from ffdec_h263i until I know how it's different
from ffdec_h263. Fixes #155163.

19 years agoautogen.sh: execute ffmpeg's autogen.sh directly
David Schleef [Sun, 19 Dec 2004 04:31:36 +0000 (04:31 +0000)]
autogen.sh: execute ffmpeg's autogen.sh directly

Original commit message from CVS:
* autogen.sh: execute ffmpeg's autogen.sh directly
* gst-libs/ext/ffmpeg/autogen.sh: Add a #! line.  Specify bash,
since there are bashisms ('local').

19 years agoext/ffmpeg/gstffmpegprotocol.c: Add debug. Don't EOS unless all data was read.
Ronald S. Bultje [Sun, 19 Dec 2004 01:07:21 +0000 (01:07 +0000)]
ext/ffmpeg/gstffmpegprotocol.c: Add debug. Don't EOS unless all data was read.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegprotocol.c: (gst_ffmpegdata_open),
(gst_ffmpegdata_peek), (gst_ffmpegdata_read),
(gst_ffmpegdata_write), (gst_ffmpegdata_seek),
(gst_ffmpegdata_close):
Add debug. Don't EOS unless all data was read.

19 years agoext/ffmpeg/gstffmpegprotocol.c: Some "seeking" hacks, and separate peek from read...
Ronald S. Bultje [Sun, 19 Dec 2004 00:32:13 +0000 (00:32 +0000)]
ext/ffmpeg/gstffmpegprotocol.c: Some "seeking" hacks, and separate peek from read (read = peek + flush) so seek can u...

Original commit message from CVS:
* ext/ffmpeg/gstffmpegprotocol.c: (gst_ffmpegdata_peek),
(gst_ffmpegdata_read), (gst_ffmpegdata_seek):
Some "seeking" hacks, and separate peek from read (read = peek +
flush) so seek can use peek as well to workaround typefind. With
this, I'm able to play several of the gaming format movies in
Totem.

19 years agoext/ffmpeg/: Add header.
Ronald S. Bultje [Sat, 18 Dec 2004 20:59:37 +0000 (20:59 +0000)]
ext/ffmpeg/: Add header.

Original commit message from CVS:
* ext/ffmpeg/Makefile.am:
* ext/ffmpeg/gstffmpeg.h:
Add header.

19 years agoext/ffmpeg/: Add debugging category everywhere (correctly this time). Don't parse...
Ronald S. Bultje [Sat, 18 Dec 2004 20:53:55 +0000 (20:53 +0000)]
ext/ffmpeg/: Add debugging category everywhere (correctly this time). Don't parse mp3 data (the parser is a piece of ...

Original commit message from CVS:
* ext/ffmpeg/gstffmpeg.c:
* ext/ffmpeg/gstffmpegcodecmap.c:
* ext/ffmpeg/gstffmpegcodecmap.h:
* ext/ffmpeg/gstffmpegcolorspace.c:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain):
* ext/ffmpeg/gstffmpegdemux.c:
* ext/ffmpeg/gstffmpegenc.c:
* ext/ffmpeg/gstffmpegmux.c:
* ext/ffmpeg/gstffmpegprotocol.c:
Add debugging category everywhere (correctly this time). Don't
parse mp3 data (the parser is a piece of crap). Fixes #155274
mostly. Seeking pending.

19 years agoext/ffmpeg/gstffmpegcodecmap.c: Add ID3 mime. Should partially fix #155274 (although...
Ronald S. Bultje [Sat, 18 Dec 2004 20:27:05 +0000 (20:27 +0000)]
ext/ffmpeg/gstffmpegcodecmap.c: Add ID3 mime. Should partially fix #155274 (although raw mp3 sounds awful, it doesn't...

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_formatid_to_caps):
Add ID3 mime. Should partially fix #155274 (although raw mp3
sounds awful, it doesn't parse correctly in the decoder-only
case).

19 years agoext/ffmpeg/gstffmpegcodecmap.c: Fix typo.
Ronald S. Bultje [Fri, 17 Dec 2004 16:39:22 +0000 (16:39 +0000)]
ext/ffmpeg/gstffmpegcodecmap.c: Fix typo.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcodecmap.c:
(gst_ffmpeg_get_codecid_longname):
Fix typo.

19 years agoext/ffmpeg/gstffmpegdec.c: Small parsing fix in comb. with ffdemux_mpeg.
Ronald S. Bultje [Fri, 17 Dec 2004 13:56:18 +0000 (13:56 +0000)]
ext/ffmpeg/gstffmpegdec.c: Small parsing fix in comb. with ffdemux_mpeg.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain):
Small parsing fix in comb. with ffdemux_mpeg.

19 years agoext/ffmpeg/gstffmpegdec.c: Include optional parser if supported (currently only MPEG...
Ronald S. Bultje [Fri, 17 Dec 2004 13:08:13 +0000 (13:08 +0000)]
ext/ffmpeg/gstffmpegdec.c: Include optional parser if supported (currently only MPEG-1/-2 video). This fixes playback...

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_init),
(gst_ffmpegdec_close), (gst_ffmpegdec_open), (gst_ffmpegdec_chain):
Include optional parser if supported (currently only MPEG-1/-2
video). This fixes playback of MPEG-1/-2 videos using
ffdec_mpeg2video.

19 years agoext/ffmpeg/gstffmpegenc.c: Move setup of sink caps (accepted formats) to a separate...
Ronald S. Bultje [Fri, 17 Dec 2004 11:32:45 +0000 (11:32 +0000)]
ext/ffmpeg/gstffmpegenc.c: Move setup of sink caps (accepted formats) to a separate function rather than doing it on ...

Original commit message from CVS:
* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_base_init),
(gst_ffmpegenc_init), (gst_ffmpegenc_getcaps),
(gst_ffmpegenc_link):
Move setup of sink caps (accepted formats) to a separate function
rather than doing it on initialization.