ext/ffmpeg/: Latest ffmpeg revision's avcodec_close frees more; use safer coding...
[platform/upstream/gstreamer.git] / ChangeLog
1 2008-08-01  Mark Nauwelaerts  <mark.nauwelaerts@collabora.co.uk>
2
3         * ext/ffmpeg/gstffmpegcfg.c: (gst_ffmpeg_cfg_fill_context):
4         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_getcaps):
5         Latest ffmpeg revision's avcodec_close frees more; use safer coding to
6         prevent double free and other related segfaults.
7
8 2008-07-28  Mark Nauwelaerts  <mark.nauwelaerts@collabora.co.uk>
9
10         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_caps_to_pixfmt):
11         Recognize video/x-raw-gray and map to proper pixfmt.
12         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_setcaps),
13         (gst_ffmpegenc_chain_video):
14         Fail negotiation if pixfmt cannot be determined from input caps.
15         Prevent segfault accessing non-existant coded_frame, provide some
16         warning debug output instead.
17
18 2008-07-23  Edward Hervey  <edward.hervey@collabora.co.uk>
19
20         * ffmpegrev:
21         Updating to today's ffmpeg upstream revision, mostly to fix a security
22         issue.
23
24 2008-07-11  Mark Nauwelaerts  <mark.nauwelaerts@collabora.co.uk>
25
26         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_caps_with_codecid):
27         Prevent likely segfault on EMPTY provided caps.
28
29 2008-07-06  Mark Nauwelaerts  <mark.nauwelaerts@collabora.co.uk>
30
31         Based on a patch by: Aurelien Grimaud <gstelzz at yahoo dot fr>
32
33         * ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_collected):
34         Properly convert buffer duration to an ffmpeg packet duration.
35         Fixes #371939.
36
37 2008-07-01  Jan Schmidt  <jan.schmidt@sun.com>
38
39         * ext/ffmpeg/gstffmpegdec.c:
40         If ffmpeg reports 0 bytes of input data consumed, don't break out
41         unless it also didn't produce any output. Fixes the audio in #377400
42         and doesn't break anything else I've tested.
43
44         Enable the mp3 parser, and set mp3 and mpeg2-video decoding autoplug
45         at marginal level, as they seem to both work fine now.
46
47 2008-06-13  Edward Hervey  <edward.hervey@collabora.co.uk>
48
49         * ext/ffmpeg/gstffmpegcodecmap.c:
50         (gst_ffmpeg_formatid_get_codecids):
51         MP4 does not allow H263 and AMR.
52
53 2008-06-13  Edward Hervey  <edward.hervey@collabora.co.uk>
54
55         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
56         (gst_ffmpeg_get_codecid_longname):
57         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_base_init),
58         (gst_ffmpegdec_register):
59         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_base_init),
60         (gst_ffmpegenc_register):
61         * ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_register):
62         FFMpeg now provides proper long_name for AVCodec, remove our
63         internal mapping and directly use upstream naming.
64         Improve debugging messages.
65         Remove g_warning() which isn't really needed.
66         Add mapping for new codecs (MPC8, DNXHD, MIMIC, VMNC)
67
68 2008-06-13  Edward Hervey  <edward.hervey@collabora.co.uk>
69
70         * ext/ffmpeg/Makefile.am:
71         * ffmpegrev:
72         Bump upstream ffmpeg revision to todays (rev 13766).
73         ffmpeg now requires libbz2.
74
75 2008-05-26  Wim Taymans  <wim.taymans@collabora.co.uk>
76
77         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):
78         Set flv demuxer to rank NONE, we have a better, working demuxer in -bad
79         and we don't want any bug reports about this one. Fixes #534783.
80
81 2008-05-26  Wim Taymans  <wim.taymans@collabora.co.uk>
82
83         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ff_vid_caps_new),
84         (gst_ffmpeg_pixfmt_to_caps), (gst_ffmpeg_caps_with_codecid):
85         Add more specific width/height for DV video so that it negotiates more
86         automatically.
87         Try to avoid accessing NULL caps.
88
89         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_getcaps):
90         Add some more debuggin to the caps generation.
91
92 2008-05-26  Sebastian Dröge  <slomo@circular-chaos.org>
93
94         * Makefile.am:
95         Dist autogen.sh. Fixes bug #534371.
96
97 2008-05-26  Sebastian Dröge  <slomo@circular-chaos.org>
98
99         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_register):
100         Explicitely disable the AAC decoders as they don't work very well
101         and we have better alternatives. Fixes bug #534392.
102
103 2008-05-26  Sebastian Dröge  <slomo@circular-chaos.org>
104
105         Patch by:
106             Hans de Goede <j dot w dot r degoede at hhs dot nl>
107
108         * configure.ac:
109         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_avpicture_fill):
110         * ext/ffmpeg/gstffmpegcodecmap.h:
111         * ext/ffmpeg/gstffmpegdec.c: (get_output_buffer):
112         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_loop):
113         * ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_collected):
114         Use av_picture_copy() instead of libswscale to copy pictures. This
115         removes the swscale dependency and is faster. Fixes bug #534390.
116
117 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
118
119         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_type_find),
120           (gst_ffmpegdemux_register):
121           Explicitly disable 'raw' mpeg-ts typefinder as well; better debug logging
122           for the gst-ffmpeg typefinders. (#533708).
123
124 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
125
126         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_src_query_list),
127           (gst_ffmpegdemux_src_query), (gst_ffmpegdemux_get_stream),
128           (gst_ffmpegdemux_open):
129           Implement SEEKING query, so players such as totem can query
130           seekability. Fix a comment typo or two.
131
132 2008-05-25  Jan Schmidt  <jan.schmidt@sun.com>
133
134         * configure.ac:
135         Back to development -> 0.10.4.1
136
137 === release 0.10.4 ===
138
139 2008-05-21  Jan Schmidt <jan.schmidt@sun.com>
140
141         * configure.ac:
142           releasing 0.10.4, "A jump to the left"
143
144 2008-05-20  Jan Schmidt  <jan.schmidt@sun.com>
145
146         * configure.ac:
147         0.10.3.3 pre-release
148
149 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
150
151         * configure.ac:
152         * ext/ffmpeg/gstffmpegcodecmap.c:
153         * ext/ffmpeg/gstffmpegdemux.c:
154         * ext/libpostproc/gstpostproc.c:
155         Fix build with (Debian's) system ffmpeg. Fixes bug #532803.
156
157 2008-05-13  Edward Hervey  <edward.hervey@collabora.co.uk>
158
159         * configure.ac:
160         0.10.3.2 pre-release
161
162 2008-05-13  Edward Hervey  <edward.hervey@collabora.co.uk>
163
164         * docs/plugins/gst-ffmpeg-plugins.args:
165         * docs/plugins/gst-ffmpeg-plugins.hierarchy:
166         * docs/plugins/gst-ffmpeg-plugins.interfaces:
167         * docs/plugins/gst-ffmpeg-plugins.prerequisites:
168         * docs/plugins/inspect/plugin-ffmpeg.xml:
169         Update docs
170
171 2008-05-12  Edward Hervey  <edward.hervey@collabora.co.uk>
172
173         * gst-libs/ext/Makefile.am:
174         More fixes for make dist
175
176 2008-05-08  Edward Hervey  <edward.hervey@collabora.co.uk>
177
178         * ffmpegrev:
179         Update to today's upstream ffmpeg. No visible regressions.
180
181 2008-05-08  Edward Hervey  <edward.hervey@collabora.co.uk>
182
183         * configure.ac:
184         * gst-libs/ext/Makefile.am:
185         More fixes for make dist.
186
187 2008-05-08  Edward Hervey  <edward.hervey@collabora.co.uk>
188
189         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_img_convert):
190         Replace usage of img_convert (deprecated) by sws_scale.
191         Fixes #529015
192
193 2008-05-08  Edward Hervey  <edward.hervey@collabora.co.uk>
194
195         * configure.ac:
196         Fix doc-building and make dist.
197
198 2008-05-08  Edward Hervey  <edward.hervey@collabora.co.uk>
199
200         * gst-libs/ext/Makefile.am:
201         Don't copy file which is no longer present.
202
203 2008-05-08  Edward Hervey  <edward.hervey@collabora.co.uk>
204
205         * ext/ffmpeg/gstffmpegaudioresample.c:
206         (gst_ffmpegaudioresample_class_init),
207         (gst_ffmpegaudioresample_init),
208         (gst_ffmpegaudioresample_transform_caps),
209         (gst_ffmpegaudioresample_transform_size),
210         (gst_ffmpegaudioresample_get_unit_size),
211         (gst_ffmpegaudioresample_set_caps),
212         (gst_ffmpegaudioresample_transform):
213         small gst-indent run.
214
215 2008-05-08  Edward Hervey  <edward.hervey@collabora.co.uk>
216
217         * gst-libs/ext/Makefile.am:
218         Use 'make clean' and not 'make dist-clean' for local cleanups.
219         Fixes #519235
220
221 2008-05-07  Edward Hervey  <edward.hervey@collabora.co.uk>
222
223         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_setcaps),
224         (gst_ffmpegdec_register):
225         Previous commit in fact broke playback for standard wmv3.
226         Instead make both ffdec_vc1 and ffdec_wmv3 accept any wmv3 variant and
227         figure out the proper codecid when opening the ffmpeg decoder.
228
229 2008-05-07  Edward Hervey  <edward.hervey@collabora.co.uk>
230
231         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_setcaps),
232         (gst_ffmpegdec_video_frame), (gst_ffmpegdec_register):
233         Bump the priority of VC1 decoder so that it goes before the WMV3
234         decoder. This allows proper auto-pluggin with decodebin/playbin.
235         Fixes #531857
236
237 2008-05-06  Edward Hervey  <edward.hervey@collabora.co.uk>
238
239         Patch by: Gabriel Bouvigne  <bouvigne at mp3-tech dot org>
240         * ext/libpostproc/gstpostproc.c:
241         Support for non-I420 colorspaces in postproc
242         Fixes #496127
243
244 2008-04-21  Edward Hervey  <edward@collabora.co.uk>
245
246         Patch by: Dejan Sakelšak <sakdean at gmail dot com>
247         * autogen.sh:
248         Check for Subversion presence.
249         Fixes #511011
250
251 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
252
253         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
254         (gst_ffmpeg_formatid_to_caps), (gst_ffmpeg_caps_to_codecid),
255         (gst_ffmpeg_get_codecid_longname):
256         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):
257         Add support for MusePack StreamVersion 7 and disable the StreamVersion
258         8 typefinder. Fixes bug #510745.
259
260 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
261
262         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
263         (gst_ffmpeg_caps_with_codecid), (gst_ffmpeg_formatid_to_caps),
264         (gst_ffmpeg_caps_to_codecid), (gst_ffmpeg_get_codecid_longname):
265         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):
266         Add support for Monkey's Audio (APE). Fixes bug #518033.
267
268 2008-04-15  Andy Wingo  <wingo@pobox.com>
269
270         * ext/libpostproc/gstpostproc.c (gst_post_proc_transform_ip): Fix
271         some mistyping when calling pp_postprocess.
272         (gst_post_proc_transform_ip): Revert my patch, it was the badness.
273
274 2008-04-14  Andy Wingo  <wingo@pobox.com>
275
276         * autogen.sh:
277         * ffmpegrev (FFMPEG_EXTERNALS_UPDATE): Because ffmpeg checks out
278         libswscale via an svn:externals, checking out an old ffmpeg does
279         not check out a corresponding libswscale. Keep the swscale
280         checkout manually synchronized, then. Update this when you update
281         FFMPEG_REVISION.
282
283 2008-04-06  Sebastian Dröge  <slomo@circular-chaos.org>
284
285         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
286
287         * configure.ac:
288         Actually build dlls when cross-compiling with mingw32.
289         Fixes bug #526247.
290
291 2008-04-03  Edward Hervey  <edward.hervey@collabora.co.uk>
292
293         * ffmpegrev: Bump upstream ffmpeg revision to todays
294         * configure.ac: Fix configure for build modification in upstream
295         * ext/libpostproc/gstpostproc.c: (gst_post_proc_transform_ip):
296         Fix build for modifications in upstream
297
298 2008-03-18  Andy Wingo  <wingo@pobox.com>
299
300         * ext/ffmpeg/gstffmpegdec.c (gst_ffmpegdec_sink_event): Only drain
301         if we've already set up a codec.
302
303 2008-03-17  Andy Wingo  <wingo@pobox.com>
304
305         * ext/ffmpeg/Makefile.am (libgstffmpeg_la_LIBADD): Re-add -lz
306         explicitly here.
307
308         * configure.ac: Remove -lz from FFMPEG_LIBS, because FFMPEG_LIBS
309         are used in the Makefile.am as a DEPENDENCIES target, and -lz is
310         not a target. Also in a blahriffic turn of events, MMX and Altivec
311         code on MacOS 10.5 produces non-PIC code. Turn them off on macos.
312
313 2008-03-11  Wim Taymans  <wim.taymans@collabora.co.uk>
314
315         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_sink_event):
316         When we receive a newsegment event, we must drain any pending frames
317         because they belong to the previous segment. This fixes some cases of
318         very large timestamps when doing segment seeks.
319
320 2008-03-06  Wim Taymans  <wim.taymans@collabora.co.uk>
321
322         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_open),
323         (get_output_buffer), (gst_ffmpegdec_video_frame),
324         (gst_ffmpegdec_chain):
325         Work around an ffmpeg bug where it always returns 0 timestamps.
326
327 2008-03-06  Michael Smith <msmith@fluendo.com>
328
329         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_pixfmt_to_caps):
330           Fix masks for RGBA32 caps. Fixes colours when decoding using
331           ffdec_qtrle. Follows an identical fix in the ffmpegcolorspace copy of
332           this code (revision 1.29).
333
334 2008-03-05  Wim Taymans  <wim.taymans@collabora.co.uk>
335
336         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_class_init),
337         (gst_ffmpegdec_setcaps), (check_keyframe),
338         (gst_ffmpegdec_video_frame), (gst_ffmpegdec_sink_event),
339         (gst_ffmpegdec_set_property):
340         Detect DTS or PTS as timestamps. This is done by tracking frame
341         reordering on the output and making sure that timestamps don't go
342         backwards. Fixes #482660.
343
344 2008-02-11  Wim Taymans  <wim.taymans@collabora.co.uk>
345
346         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
347
348         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_class_init),
349         (gst_ffmpegdec_init), (gst_ffmpegdec_setcaps),
350         (gst_ffmpegdec_set_property), (gst_ffmpegdec_get_property):
351         Add property for controlling of motion vectors. Fixes #515811.
352         API: GstFFMpegDec::debug-mv
353
354 2008-02-08  Edward Hervey  <edward.hervey@collabora.co.uk>
355
356         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_loop):
357         Don't try handling a buffer if downstream allocation failed.
358         Avoids crashes and Fixes #515205
359
360 2008-01-29  Wim Taymans  <wim.taymans@collabora.co.uk>
361
362         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_video_frame):
363         Don't blindly copy input timestamp to output timestamp but prefer the
364         one attached to the picture when we can.
365         Add new variables for the output timestamp and duration to make the code
366         a little more clear.
367
368 2008-01-26  Sebastian Dröge  <slomo@circular-chaos.org>
369
370         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_video_frame):
371         Initialize hurry_up to 0 to fix "might be used uninitialized"
372         compiler warning.
373
374 2008-01-25  Wim Taymans  <wim.taymans@collabora.co.uk>
375
376         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_base_init),
377         (gst_ffmpegdec_setcaps), (gst_ffmpegdec_video_frame):
378         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_base_init):
379         When doing QoS, don't drop the frame before decoding because we might
380         drop an important reference frame, just make the decoder hurry_up on
381         this frame.
382
383 2008-01-25  Wim Taymans  <wim.taymans@collabora.co.uk>
384
385         * ext/ffmpeg/gstffmpegcodecmap.c:
386         (gst_ffmpeg_formatid_get_codecids):
387         Add H263+ to valid 3GP muxing formats. Fixes #511476.
388
389 2008-01-23  Wim Taymans  <wim.taymans@collabora.co.uk>
390
391         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_class_init),
392         (gst_ffmpegdec_init), (get_output_buffer), (gst_ffmpegdec_chain),
393         (gst_ffmpegdec_change_state), (gst_ffmpegdec_set_property),
394         (gst_ffmpegdec_get_property):
395         Add padding to input data before feeding it to ffmpeg. Also add option
396         to disable this (although it does not seem to cause slowdown).
397
398 2008-01-23  Wim Taymans  <wim.taymans@collabora.co.uk>
399
400         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_setcaps),
401         (alloc_output_buffer), (gst_ffmpegdec_get_buffer),
402         (gst_ffmpegdec_release_buffer), (gst_ffmpegdec_negotiate),
403         (get_output_buffer):
404         Change the pad_alloc calculations for weird clipped sizes, refactor the
405         code a bit.
406         Add support for some different refcounting algorithm. 
407         Direct rendering still disabled by default.
408
409 2008-01-22  Edward Hervey  <edward.hervey@collabora.co.uk>
410
411         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_class_init):
412         Disable direct-rendering by default until buffer allocation works
413         correctly.
414         Rename the alias of the direct rendering property from 'direct' to
415         'direct-rendering'.
416
417 2008-01-22  Wim Taymans  <wim.taymans@collabora.co.uk>
418
419         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_setcaps),
420         (gst_ffmpegdec_get_buffer):
421         Disable direct rendering for h264 since it does not always work.
422
423 2008-01-22  Wim Taymans  <wim.taymans@collabora.co.uk>
424
425         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_set_property),
426         (gst_ffmpegdec_get_property):
427         Implement get/set for the new property too.
428
429 2008-01-22  Wim Taymans  <wim.taymans@collabora.co.uk>
430
431         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_class_init),
432         (gst_ffmpegdec_init), (gst_ffmpegdec_close), (gst_ffmpegdec_open),
433         (gst_ffmpegdec_setcaps), (gst_ffmpegdec_get_buffer),
434         (gst_ffmpegdec_release_buffer), (get_output_buffer),
435         (gst_ffmpegdec_video_frame), (gst_ffmpegdec_audio_frame),
436         (gst_ffmpegdec_frame), (gst_ffmpegdec_change_state),
437         (gst_ffmpegdec_set_property), (gst_ffmpegdec_get_property):
438         Reenable pad_alloc, seem to work now.
439         Added property to easily disable it later on.
440         Remove some old code that tried hard to break the get_buffer
441         functions. Fixes #321662.
442
443 2008-01-22  Wim Taymans  <wim.taymans@collabora.co.uk>
444
445         * ext/ffmpeg/gstffmpegcfg.c: (gst_ffmpeg_flags_get_type):
446         Add h263 to the list of codecs using the mpeg flags and options.
447         Add some more H263 specific flags. Fixes #421068.
448
449 2008-01-22  Sebastian Dröge  <slomo@circular-chaos.org>
450
451         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):
452         Don't register typefinders for which we have better replacements
453         in base. Fixes bug #510985.
454
455 2008-01-21  Wim Taymans  <wim.taymans@collabora.co.uk>
456
457         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_video_frame),
458         (gst_ffmpegdec_chain):
459         Remove some more overly clever code that does nothing but mess up
460         timestamps.
461
462 2008-01-18  Wim Taymans  <wim.taymans@collabora.co.uk>
463
464         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_drain),
465         (gst_ffmpegdec_sink_event), (gst_ffmpegdec_chain):
466         Flush delayed frames on DISCONT if we have them.
467
468 2008-01-18  Wim Taymans  <wim.taymans@collabora.co.uk>
469
470         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_video_frame),
471         (gst_ffmpegdec_chain):
472         Flush on DISCONT because ffmpeg does not reliably tell us about
473         keyframes.
474
475 2008-01-18  Wim Taymans  <wim.taymans@collabora.co.uk>
476
477         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_init),
478         (gst_ffmpegdec_open), (gst_ffmpegdec_get_buffer),
479         (gst_ffmpegdec_release_buffer), (gst_ffmpegdec_video_frame),
480         (gst_ffmpegdec_sink_event), (gst_ffmpegdec_chain):
481         Rewrite timestamping code to let ffmpeg track timestamps.
482         Fixes #482660, #337866.
483
484 2008-01-16  Wim Taymans  <wim.taymans@collabora.co.uk>
485
486         * ext/ffmpeg/gstffmpegdec.c: (clear_queued), (flush_queued),
487         (gst_ffmpegdec_video_frame), (gst_ffmpegdec_frame),
488         (gst_ffmpegdec_sink_event), (gst_ffmpegdec_change_state):
489         Add basic reverse playback for video.
490
491 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
492
493         * autogen.sh:
494           Add -Wno-portability to the automake parameters to stop warnings
495           about GNU make extensions being used. We require GNU make in almost
496           every Makefile anyway.
497           
498         * configure.ac:
499           Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
500           at the same time is required for per target flags.
501
502 2008-01-09  Edward Hervey  <edward.hervey@collabora.co.uk>
503
504         * configure.ac:
505         postproc needs some headers present in libavcodec/*.h
506
507 2008-01-09  Stefan Kost  <ensonic@users.sf.net>
508
509         * gst-libs/ext/Makefile.am:
510           Remove trailing whitespace as warned by automake.
511
512 2008-01-04  Sebastian Dröge  <slomo@circular-chaos.org>
513
514         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_register):
515         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):
516         Don't register the WavPack demuxer and decoder. They don't work,
517         we have better ones and the output of the demuxer/input of the
518         decoder is in a different format than what audio/x-wavpack of the
519         wavpack plugin is (it seems that the demuxer strips of the wavpack
520         headers from every frame).
521
522         This fixes typefinding of Wavpack files again, as the ffmpeg
523         typefinder was preffered for some reason and gave
524         application/x-gst_ff-wv instead of audio/x-wavpack.
525
526 2007-12-18  Edward Hervey  <edward.hervey@collabora.co.uk>
527
528         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_loop):
529         Fix demuxer to stop properly (emit an error message on the bus) if no
530         pads are linked. Use aggregated flow return values a bit more.
531
532 2007-12-18  Tim-Philipp Müller  <tim at centricular dot net>
533
534         * Makefile.am:
535           Include common/win32.mak for CRLF check of win32 project
536           files (see #393626).
537
538 2007-12-17  Sebastian Dröge  <slomo@circular-chaos.org>
539
540         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
541         (gst_ffmpeg_formatid_get_codecids),
542         (gst_ffmpeg_get_codecid_longname):
543         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_loop),
544         (gst_ffmpegdemux_register):
545         * ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_collected),
546         (gst_ffmpegmux_register):
547         Add GIF (animations and single images) decoding and encoding support.
548         Fixes #503249.
549
550 2007-12-17  Edward Hervey  <edward.hervey@collabora.co.uk>
551
552         * configure.ac:
553         Minor typo in disabling cavs decoder. Now compiles AND works on x86 32
554         and 64 bits ! Time to merge :)
555
556 2007-12-17  Edward Hervey  <edward.hervey@collabora.co.uk>
557
558         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
559         (gst_ffmpeg_caps_to_codecid):
560         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_open):
561         Handle VC-1 properly , which is handled differently from WMV3.
562
563 2007-12-17  Edward Hervey  <edward.hervey@collabora.co.uk>
564
565         * autogen.sh:
566         Fix call to ffmpegrev
567         * configure.ac:
568         Re-apply -fPIC extra-cflag for ffmpeg while removing support for the
569         flac encoder which is currently broken for x86/32bits with -fPIC.
570         * ffmpegrev:
571         Switch to latest upstream revision so we can have the split-up for
572         flac mmx optimizations.
573
574 2007-12-15  Sebastian Dröge  <slomo@circular-chaos.org>
575
576         Based on a patch by:
577             Hans de Goede <j dot w dot r degoede at hhs dot nl>
578
579         * ext/ffmpeg/gstffmpegcfg.c: (gst_ffmpeg_pre_me_get_type),
580           (gst_ffmpeg_pred_method_get_type):
581           NULL-terminate the GEnumValue arrays, otherwise they will cause
582           crashes. Fixes #503733.
583
584 2007-12-09  Sebastian Dröge  <slomo@circular-chaos.org>
585
586         * configure.ac:
587           Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
588
589 2007-11-28  Edward Hervey  <bilboed@bilboed.com>
590
591         * configure.ac:
592         Temporarily remove fPIC option for building ffmpeg
593         * ffmpegrev:
594         Switch to latest ffmpeg checkout so people can enjoy all the niceties
595         that have just landed (mmx optimisations for vc1 and h263, bugfixes,..)
596         * ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_collected),
597         (gst_ffmpegmux_change_state):
598         Adjust code to ffmpeg API changes.
599
600 2007-11-22  Edward Hervey  <bilboed@bilboed.com>
601
602         * ext/ffmpeg/gstffmpegaudioresample.c:
603         (gst_ffmpegaudioresample_get_unit_size),
604         (gst_ffmpegaudioresample_transform):
605         Correct the output size of the buffer.
606
607 2007-11-15  Edward Hervey  <bilboed@bilboed.com>
608
609         * ext/ffmpeg/Makefile.am:
610         * ext/ffmpeg/gstffmpeg.c: (plugin_init):
611         * ext/ffmpeg/gstffmpeg.h:
612         * ext/ffmpeg/gstffmpegaudioresample.c:
613         (gst_ffmpegaudioresample_base_init),
614         (gst_ffmpegaudioresample_class_init),
615         (gst_ffmpegaudioresample_init), (gst_ffmpegaudioresample_finalize),
616         (gst_ffmpegaudioresample_transform_caps),
617         (gst_ffmpegaudioresample_transform_size),
618         (gst_ffmpegaudioresample_get_unit_size),
619         (gst_ffmpegaudioresample_set_caps),
620         (gst_ffmpegaudioresample_transform),
621         (gst_ffmpegaudioresample_register):
622         Added new ffaudioresample element using the ffmpeg resampling code.
623         It's (way) faster than audioresample, doesn't introduce latency, but
624         might cause a little bit of 'clicking'.
625
626 2007-11-15  Edward Hervey  <bilboed@bilboed.com>
627
628         * Makefile.am:
629         * autogen.sh:
630         * configure.ac:
631         * ext/ffmpeg/Makefile.am:
632         * ffmpegrev:
633         * gst-libs/ext/Makefile.am:
634         Initial patch of the new mirror-less build-system for gst-ffmpeg using
635         specific revisions of ffmpeg svn instead.
636         Might still have some issues, we need people to try this.
637         Help by : Dejan SakelÅ¡ak  <sakdean at gmail dot com>
638         * ext/ffmpeg/gstffmpeg.c: (plugin_init):
639         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
640         (gst_ffmpeg_caps_with_codecid), (gst_ffmpeg_caps_to_codecid),
641         (gst_ffmpeg_get_codecid_longname):
642         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_base_init),
643         (gst_ffmpegdec_get_buffer), (gst_ffmpegdec_audio_frame),
644         (gst_ffmpegdec_register):
645         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_averror),
646         (gst_ffmpegdemux_register):
647         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_register):
648         * ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_register):
649         Update code for new ffmpeg API.
650
651 2007-12-04  Edward Hervey  <bilboed@bilboed.com>
652
653         * configure.ac:
654         And back to development cycle.
655
656 === release 0.10.3 ===
657
658 2007-12-04  Edward Hervey  <bilboed@bilboed.com>
659
660         * configure.ac:
661         * NEWS:
662         * RELEASE:
663           releasing 0.10.3, "My T-Shirt is slowly fading"
664
665 2007-11-28  Edward Hervey  <bilboed@bilboed.com>
666
667         * configure.ac:
668         0.10.2.2 pre-release
669
670 2007-11-08  Edward Hervey  <bilboed@bilboed.com>
671
672         Patch by: Ole André Vadla RavnÃ¥s <ole dot andre dot ravnas at tandberg dot com>
673
674         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_caps_with_codecid):
675         * ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_init):
676
677 2007-11-03  Edward Hervey  <bilboed@bilboed.com>
678
679         * ext/ffmpeg/gstffmpeg.c: (gst_ffmpeg_avcodec_open),
680         (gst_ffmpeg_avcodec_close), (gst_ffmpeg_av_find_stream_info),
681         (gst_ffmpeg_log_callback), (plugin_init):
682         * ext/ffmpeg/gstffmpegcfg.c: (gst_ffmpeg_mb_decision_get_type),
683         (gst_ffmpeg_flags_get_type), (gst_ffmpeg_cfg_init),
684         (gst_ffmpeg_cfg_codec_has_pspec),
685         (gst_ffmpeg_cfg_install_property), (gst_ffmpeg_cfg_set_property),
686         (gst_ffmpeg_cfg_get_property), (gst_ffmpeg_cfg_set_defaults),
687         (gst_ffmpeg_cfg_fill_context), (gst_ffmpeg_cfg_finalize):
688         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps):
689         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_open),
690         (gst_ffmpegdec_setcaps), (gst_ffmpegdec_save_incoming_values),
691         (gst_ffmpegdec_get_best_values), (gst_ffmpegdec_video_frame):
692         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_base_init),
693         (gst_ffmpegdemux_src_query):
694         * ext/ffmpeg/gstffmpegenc.c: (ffmpegenc_setup_working_buf),
695         (gst_ffmpegenc_chain_video), (gst_ffmpegenc_flush_buffers):
696         * ext/ffmpeg/gstffmpegprotocol.c: (gst_ffmpegdata_open),
697         (gst_ffmpegdata_peek), (gst_ffmpegdata_read),
698         (gst_ffmpegdata_write), (gst_ffmpegdata_seek),
699         (gst_ffmpegdata_close):
700         gst-indent cleanup.
701
702 2007-10-12  Tim-Philipp Müller  <tim at centricular dot net>
703
704         * configure.ac:
705           Add big fat warning message with explanation when building
706           against an external copy of ffmpeg. Fixes #407779.
707
708 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
709
710         Patch by: Tuomas Kulve <tuomas dot kulve at movial dot fi>
711
712         * ext/ffmpeg/gstffmpegdec.c:
713         Fix the return type of the setcaps function. Fixes #485033.
714
715 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
716
717         Patch by: Yann Gilquin <yann dot gilquin at purplelabs dot com>
718
719         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_src_event):
720         Don't return FALSE for the LATENCY event but instead forward it
721         upstream. Fixes #482946.
722
723 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
724
725         * tests/check/generic/libavcodec-locking.c:
726           Print message name and not just number.
727
728 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
729
730         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
731         (gst_ffmpeg_caps_with_codecid), (gst_ffmpeg_get_codecid_longname):
732         Add Real Video 3.0 and remove some bogus caps.
733
734         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_open),
735         (gst_ffmpegdec_video_frame):
736         When skipping because of QoS, pretend we consumed all bytes for the
737         frame so that the pcache's timestamp is updated correctly.
738
739 2007-08-14  Edward Hervey  <edward@fluendo.com>
740
741         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_register):
742         Don't set rank of sp5x video decoder to NONE.
743         Fixes #466221
744         Re-order the cases of the switch statement so that the default case
745         is last.
746
747 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
748
749         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_caps_with_codecid):
750         Improve debugging of codec data.
751         realvideo caps are underspecified, use fields of alternative variant
752         before we settle this.
753
754         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_open),
755         (gst_ffmpegdec_video_frame):
756         Add more debugging of used parsers.
757         Setup the realvideo slices correctly before calling the decoder, fixed
758         realvideo in matroska.
759
760 2007-08-01  Stefan Kost  <ensonic@users.sf.net>
761
762         * ext/ffmpeg/gstffmpegcfg.c: (gst_ffmpeg_cfg_install_property),
763         (gst_ffmpeg_cfg_finalize):
764         * ext/ffmpeg/gstffmpegcfg.h:
765         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_finalize),
766         (ffmpegenc_setup_working_buf), (gst_ffmpegenc_chain_video),
767         (gst_ffmpegenc_flush_buffers):
768           Free strings atleast when finalizing elements.
769         
770         * tests/check/generic/libavcodec-locking.c: (GST_START_TEST),
771         (simple_launch_lines_suite):
772           Fix some leaks.
773
774 2007-08-01  Stefan Kost  <ensonic@users.sf.net>
775
776         * configure.ac:
777         * ext/ffmpeg/Makefile.am:
778           Check for libm and link against it (ffmpeg is using sqrt).
779
780 2007-07-25  Julien MOUTTE  <julien@moutte.net>
781
782         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_video_frame):
783         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_loop): Handle
784         buffers with invalid duration correctly even in the case where
785         we have a demuxer AND a decoder from ffmpeg linked.
786         Fixes: #460274.
787
788 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
789
790         * configure.ac:
791         * tests/Makefile.am:
792         Remove bogus check for libcheck, since we check for
793         gstreamer-check and it pulls in the required info from there, and we
794         weren't actually _using_ the information for libcheck ourselves
795         anyway.
796
797 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
798
799         * configure.ac:
800           Use pkg-config to locate check. Bump core requirement.
801
802         * ext/ffmpeg/gstffmpegdeinterlace.c: (gst_ffmpegdeinterlace_chain):
803         * ext/ffmpeg/gstffmpegscale.c: (gst_ffmpegscale_transform):
804           Replace deprecated method.
805           
806
807 2007-07-05  Jan Schmidt  <thaytan@mad.scientist.com>
808
809         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_chain_video),
810         (gst_ffmpegenc_flush_buffers):
811         Fix the encoders by actually copying the encoded output data from the
812         working area into the output buffer.
813         Fixes: #453135.
814
815 2007-06-22  Jan Schmidt  <thaytan@mad.scientist.com>
816
817         * ext/ffmpeg/gstffmpegenc.c: (ffmpegenc_setup_working_buf),
818         (gst_ffmpegenc_chain_video), (gst_ffmpegenc_flush_buffers),
819         (gst_ffmpegenc_change_state):
820         * ext/ffmpeg/gstffmpegenc.h:
821         Instead of allocating 512KB buffers and then setting BUFFER_SIZE
822         to what ffmpeg produced, we're better off by far to use a single
823         working buffer and copy data out into neat little buffers.
824
825         This prevents exhorbitant virtual memory wastage in the form
826         of allocated but untouched buffers.
827
828 2007-06-20  Stefan Kost  <ensonic@users.sf.net>
829
830         * ext/ffmpeg/gstffmpegcodecmap.c:
831         (gst_ffmpeg_formatid_get_codecids):
832           Enable mjpeg-codec in more containers.
833
834 2007-06-19  Stefan Kost  <ensonic@users.sf.net>
835
836         * ext/ffmpeg/gstffmpeg.c: (gst_ffmpeg_log_callback):
837           Cut off double \n.
838
839         * ext/ffmpeg/gstffmpegcodecmap.c:
840         (gst_ffmpeg_formatid_get_codecids):
841           Enable more codecs in containers.
842
843 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
844
845         * win32/vs6/gst_ffmpeg.dsw:
846         * win32/vs6/libgstffmpeg.dsp:
847         Convert line endings to CRLF and mark files as binary.
848
849 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
850
851         * gst-libs/ext/ffmpeg/configure.ac:
852         * gst-libs/ext/ffmpeg/patches/autotools.patch:
853         * gst-libs/ext/ffmpeg/patches/memalign.patch:
854         Recognise x86_64 builds and set flags appropriately so that the
855         MMX/SSE codepaths get enabled there - makes things considerably
856         faster.
857
858 2007-06-05  Wim Taymans  <wim@fluendo.com>
859
860         Patch by: <bram at luon dot net>
861
862         * ext/ffmpeg/gstffmpegcodecmap.c:
863         (gst_ffmpeg_formatid_get_codecids):
864         Add MSMPEG4V3 video and MP3 audio to the asf muxer supported formats.
865         Fixes #444384.
866
867 2007-06-05  Wim Taymans  <wim@fluendo.com>
868
869         Patch by: Jan Arne Petersen <jpetersen at jpetersen dot org>
870
871         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_src_query):
872         Use total duration when the individual stream duration is not known.
873         Fixes #375534.
874
875 2007-06-05  Wim Taymans  <wim@fluendo.com>
876
877         Patch by: Laurent Glayal <spglegle at yahoo dot fr>
878
879         * ext/ffmpeg/gstffmpegscale.c: (gst_ffmpegscale_handle_src_event):
880         don't leak refcounts in event handler. Fixes #444332.
881
882 2007-05-25  Wim Taymans  <wim@fluendo.com>
883
884         * ext/ffmpeg/gstffmpegdec.c: (clip_video_buffer),
885         (gst_ffmpegdec_video_frame):
886         Be a bit smarter when clipping the frame without a duration, we don't
887         want the frame to extend to the end of the segment in this case.
888
889 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
890
891         * configure.ac:
892           Add -no-undefined to GST_ALL_LDFLAGS; without it, no shared libs
893           will be built or installed on MingW for our plugins in ext/; also,
894           it looks like the right thing to do and we do it for all our other
895           plugin modules as well. Fixes #440253.
896
897 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
898
899         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_type_find):
900         Reduce the probability of the MPEG-TS typefinder, because there's a
901         better one in recent base releases.
902
903 2007-05-17  Edward Hervey  <edward@fluendo.com>
904
905         * configure.ac:
906         * ext/ffmpeg/Makefile.am:
907         * ext/libpostproc/Makefile.am:
908         Fix the build on MacOSX.
909         This requires a recent enough version of libtool (ex : 1.5.22), since
910         the one shipped by Apple is from the middle ages and is packed with
911         issues.
912         Fixes #435742
913
914 2007-05-09  Edward Hervey  <edward@fluendo.com>
915
916         * ext/ffmpeg/gstffmpeg.c: (gst_ffmpeg_av_find_stream_info):
917         * ext/ffmpeg/gstffmpeg.h:
918         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_open):
919         Protect calls to ffmpeg functions that will implicitly call 
920         avcodec_open/close with the avcodec mutex.
921         Fixes #433245
922
923 2007-05-02  Edward Hervey  <edward@fluendo.com>
924
925         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_init),
926         (gst_ffmpegdec_open), (gst_ffmpegdec_save_incoming_values),
927         (gst_ffmpegdec_get_best_values), (gst_ffmpegdec_video_frame),
928         (gst_ffmpegdec_sink_event):
929         Fix timestamping for out-of-order incoming buffers. Instead of blindly
930         copying the incoming buffer timestamps on the outgoing buffers we cache
931         the latest 2 incoming buffer timestamps and duration and make a wise
932         choice as to what the outgoing buffer timestamp and duration should be.
933         Fixes #342962
934
935 2007-04-25  Edward Hervey  <edward@fluendo.com>
936
937         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
938         (gst_ffmpeg_caps_to_codecid), (gst_ffmpeg_get_codecid_longname):
939         Remove cruft inserted by wim's last commit.
940
941 2007-04-20  Michael Smith  <msmith@fluendo.com>
942
943         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_type_find):
944           Allow ffmpeg typefinders to try and typefind very short (<4kB)
945           files.
946
947 2007-04-12  Wim Taymans  <wim@fluendo.com>
948
949         Patch by: Mark Nauwelaerts <manauw at skynet dot be> and
950                   Thomas Vander Stichele  <thomas at apestaart dot org>
951         
952         * ext/ffmpeg/gstffmpegcfg.c: (gst_ffmpeg_flags_get_type):
953         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
954         (gst_ffmpeg_caps_with_codecid), (gst_ffmpeg_caps_to_codecid),
955         (gst_ffmpeg_get_codecid_longname):
956         Add the CODEC_FLAG_GLOBAL_HEADER to the exposed flags, and makes it as such
957         configurable as a property. Fixes #393187.
958
959 2007-04-12  Wim Taymans  <wim@fluendo.com>
960
961         Patch by: Yves Lefebvre <ivanohe at abacom dot com>
962
963         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_setcaps):
964         Draw edges for h264. Fixes #364139.
965         Set the error resilience flag just in case...
966
967 2007-03-17  Johan Dahlin  <jdahlin@async.com.br>
968
969         * ext/ffmpeg/gstffmpegcodecmap.c (gst_ffmpeg_get_codecid_longname): 
970         Fix typo in Indeo-2 codec name
971
972 2007-03-02  Edward Hervey  <edward@fluendo.com>
973
974         * ext/ffmpeg/gstffmpegcfg.c: (gst_ffmpeg_cfg_init):
975         Add mpeg1video and mpeg2video to the list of mpeg-derivatives for
976         configuration settings.
977         Renamed the mpeg4 category to mpeg.
978         Fixes #403739
979
980 2007-03-01  Sebastian Dröge  <slomo@circular-chaos.org>
981
982         * configure.ac:
983           Convert to new AG_GST style.
984
985 2007-02-16  Tim-Philipp Müller  <tim at centricular dot net>
986
987         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_base_init),
988         (gst_ffmpegdec_register):
989         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_base_init),
990         (gst_ffmpegdemux_register):
991         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_base_init),
992         (gst_ffmpegenc_register):
993         * ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_base_init),
994         (gst_ffmpegmux_register):
995           Don't use GINT_TO_POINTER and GPOINTER_TO_INT with GTypes, this
996           can break horribly if sizeof(GType) happens to be bigger than
997           sizeof(int), because GPOINTER_TO_INT might then chop off some bits
998           of our GType (the reason this seems to works nevertheless is the
999           put-current-type-also-as-value-0-into-the-hash-table-as-fallback
1000           hack used in the current code).
1001           In any case, instead of just fixing this, let's not use a hash table
1002           with GTypes here at all. g_type_{set|get}_qdata() seems to do the
1003           job just as well.
1004
1005 2007-02-14  Edward Hervey  <edward@fluendo.com>
1006
1007         * ext/ffmpeg/gstffmpegcfg.c: (gst_ffmpeg_flags_get_type):
1008         Typo fix.
1009
1010 2007-02-09  Thomas Vander Stichele  <thomas at apestaart dot org>
1011
1012         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_register):
1013           My console is not your TODO list.
1014           If it were your TODO list, you would have DONE it by now.
1015
1016 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
1017
1018         * ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_register):
1019           ffmux_flv only accepts mpeg audio with a sample rate of 44100, 22050
1020           or 11025. Fix up the caps in the sink pad template accordingly, so
1021           that encoding piplines at least have a chance to automatically
1022           negotiate to one of the allowed rates.
1023
1024 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
1025
1026         * ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_request_new_pad),
1027         (gst_ffmpegmux_setcaps), (gst_ffmpegmux_collected):
1028           Only set the mux->opened flag after we've successfully written the
1029           header. This way we don't crash in mysterious ways if we can't write
1030           the header for some reason (e.g. due to having accepted caps the
1031           format doesn't really allow), then return a GST_FLOW_ERROR, and
1032           then still receive another buffer afterwards despite having previously
1033           returned FLOW_ERROR (#403168).
1034           Also some minor logging improvements.
1035
1036 2007-01-26  Wim Taymans  <wim@fluendo.com>
1037
1038         Patch by: Mark Nauwelaerts <manauw@skynet.be>
1039
1040         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):
1041         register yuv4mpegpipe demuxer with MARGINAL rank to
1042         make it also typically available for auto-plugging. Fixes #399108.
1043
1044 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
1045
1046         Patch by: Martin Szulecki  <gnomebugzilla at sukimashita com>
1047
1048         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
1049         (gst_ffmpeg_caps_with_codecid):
1050           Need to set depth on context for camtasia decoder (fixes #398875).
1051
1052 2007-01-11  Wim Taymans  <wim@fluendo.com>
1053
1054         Patch by: Mark Nauwelaerts <manauw@skynet.be>
1055
1056         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_formatid_to_caps):
1057         Internally, ffmpeg (demuxer) expects YUV4MPEG version 2, this patch sets
1058         the caps correctly. Fixes #394071.
1059
1060 2007-01-10  Edward Hervey  <edward@fluendo.com>
1061
1062         Patch by: Mark Nauwelaerts <manauw@skynet.be>
1063
1064         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_perform_seek),
1065         (gst_ffmpegdemux_aggregated_flow), (gst_ffmpegdemux_get_stream),
1066         (gst_ffmpegdemux_loop):
1067         Check the aggregated return value of pushes downstream to figure out if
1068         we really need to stop the task or not.
1069         Fixes #394075
1070
1071 2007-01-09  Wim Taymans  <wim@fluendo.com>
1072
1073         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_get_palette),
1074         (gst_ffmpeg_set_palette), (gst_ff_vid_caps_new),
1075         (gst_ff_aud_caps_new), (gst_ffmpeg_codecid_to_caps),
1076         (gst_ffmpeg_pixfmt_to_caps), (gst_ffmpeg_smpfmt_to_caps),
1077         (gst_ffmpeg_codectype_to_caps), (gst_ffmpeg_caps_to_pixfmt),
1078         (gst_ffmpeg_caps_with_codecid), (gst_ffmpeg_formatid_to_caps),
1079         (gst_ffmpeg_formatid_get_codecids), (gst_ffmpeg_caps_to_codecid),
1080         (gst_ffmpeg_init_pix_fmt_info), (gst_ffmpeg_avpicture_fill),
1081         (gst_ffmpeg_img_convert):
1082         * ext/ffmpeg/gstffmpegcodecmap.h:
1083         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_getcaps),
1084         (gst_ffmpegenc_register):
1085
1086         Use codecid as extra parameter when getting caps.
1087         Restrict H263 caps to allowed sizes for better negotiation.
1088         MP4/3gp can contain AMR-WB as well.
1089
1090         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):
1091         Indent.
1092
1093 2007-01-09  Wim Taymans  <wim@fluendo.com>
1094
1095         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_open),
1096         (gst_ffmpegdec_setcaps), (gst_ffmpegdec_negotiate),
1097         (get_output_buffer), (gst_ffmpegdec_video_frame),
1098         (clip_audio_buffer), (gst_ffmpegdec_audio_frame),
1099         (gst_ffmpegdec_frame), (gst_ffmpegdec_chain),
1100         (gst_ffmpegdec_register):
1101         Use caps to clip output images. Fixes #341736
1102
1103 2007-01-08  Edward Hervey  <edward@fluendo.com>
1104
1105         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_me_method_get_type):
1106         Make the name of the motion-estimation method enum values meaningful.
1107
1108 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
1109         
1110         * Makefile.am:
1111           Add win32/MANIFEST to EXTRA_DIST so win32 files will
1112           be include in the next release.
1113         * win32/MANIFEST:
1114           Add manifest to win32 files in next releases.
1115         * win32/vs6/gst_ffmpeg.dsw:
1116         * win32/vs6/libgstffmpeg.dsp:
1117           Add project files for VS6.
1118
1119 2007-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
1120
1121         * configure.ac:
1122           actually properly define HAVE_FFMPEG_UNINSTALLED
1123           also use it as a conditional
1124         * ext/ffmpeg/Makefile.am:
1125           add a dep on the internal lib so the plugin gets rebuilt on
1126           code changes to the ffmpeg lib
1127
1128 2007-01-03  Tim-Philipp Müller  <tim at centricular dot net>
1129
1130         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_class_init),
1131         (gst_ffmpegenc_finalize):
1132           Turn dispose function into finalize function to avoid double-frees
1133           and potential crashes caused by them in some circumstances.
1134           Fixes #392395.
1135
1136 2006-12-21  Tim-Philipp Müller  <tim at centricular dot net>
1137
1138         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_caps_to_smpfmt):
1139           The "signed" field in raw audio caps is of boolean type, trying to
1140           extract the value with _get_int() will fail.
1141
1142 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
1143
1144         * configure.ac:
1145           fix quoting so it works for fedora autotools too
1146
1147 2006-12-15  Tim-Philipp Müller  <tim at centricular dot net>
1148
1149         * docs/Makefile.am:
1150         * tests/check/Makefile.am:
1151           Spaces => tab
1152
1153 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
1154
1155         * Makefile.am:
1156         * gst-ffmpeg.doap:
1157         * gst-ffmpeg.spec.in:
1158           add doap file
1159
1160 2006-12-15  Jan Schmidt  <thaytan@mad.scientist.com>
1161
1162         * Makefile.am:
1163         * configure.ac:
1164         * ext/ffmpeg/Makefile.am:
1165         * ext/ffmpeg/gstffmpeg.c:
1166         * ext/ffmpeg/gstffmpegdemux.c:
1167         * ext/libpostproc/Makefile.am:
1168         * ext/libpostproc/gstpostproc.c:
1169
1170         Allow building against an external FFMpeg install. Fixes: #363363
1171         Patch by: Josselin Mouette <joss at debian dot org>
1172         When built against an external install, the plugin description will
1173         say "system install" instead of "local snapshot"
1174
1175 2006-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
1176
1177         * configure.ac:
1178         Back to CVS
1179
1180 === release 0.10.2 ===
1181
1182 2006-12-10  Jan Schmidt <thaytan@mad.scientist.com>
1183
1184         * configure.ac:
1185           releasing 0.10.2, "At the edge of Taymans"
1186
1187 2006-12-07  Edward Hervey  <edward@fluendo.com>
1188
1189         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_formatid_get_codecids):
1190         Activate "amr" and "3gp" muxers.
1191         Add AMR-NB as a valid audio codec for "mp4" muxer
1192
1193 2006-12-07  Wim Taymans  <wim@fluendo.com>
1194
1195         * ext/ffmpeg/gstffmpegcodecmap.c:
1196         (gst_ffmpeg_formatid_get_codecids):
1197         Add H263p variants as possible format for mov.
1198         Fixes #378796.
1199
1200 2006-12-06  Jan Schmidt  <thaytan@mad.scientist.com>
1201
1202         * tests/check/generic/libavcodec-locking.c: (GST_START_TEST):
1203         Fix the filter caps string for the test. Limit it to 10 fps, which
1204         means encoding ~ 50 frames before timeout
1205
1206 2006-12-04  Jan Schmidt  <thaytan@mad.scientist.com>
1207
1208         * HACKING:
1209         Update the hacking info with information about how to prepare
1210         your quilt setup to hack on the ffmpeg checkout
1211
1212 2006-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
1213
1214         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_open),
1215         (gst_ffmpegdec_chain):
1216           When H264 is presented without codec_data, use a parser to frame it
1217           by assuming that no codec_data implies it is unpacketised.
1218
1219           Always use the return value from the parser to advance the input
1220           buffer position.
1221
1222 2006-11-17  Thomas Vander Stichele  <thomas at apestaart dot org>
1223
1224         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_register):
1225           My console is not your TODO list.
1226           If it were your TODO list, you would have DONE it by now.
1227
1228 2006-11-16  Stefan Kost  <ensonic@users.sf.net>
1229
1230         Patch by: Ville Syrjala <ville.syrjala@movial.fi>
1231
1232         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
1233         (gst_ffmpeg_caps_to_codecid):
1234           Specify H.263 variant and version in the caps (fixes #361636)
1235
1236 2006-11-14  Michael Smith  <msmith@fluendo.com>
1237
1238         * ext/ffmpeg/gstffmpegcodecmap.c:
1239         (gst_ffmpeg_formatid_get_codecids), (gst_ffmpeg_caps_to_codecid):
1240           Add mmf to _get_codecids, so we can use the mmf muxer.
1241           Use "audio/x-adpcm" rather than the dubious looking "x-adpcm" as our
1242           caps type for the adpcm variants.
1243
1244         * ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_base_init):
1245           Allow muxers that allow either only audio or only video, needed for
1246           mmf (audio only).
1247
1248 2006-10-26  Edward Hervey  <edward@fluendo.com>
1249
1250         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_getcaps),
1251         (gst_ffmpegenc_setcaps), (gst_ffmpegenc_register):
1252         MPEG4 standard does not accept framerates with a denominator greater
1253         than (1<<16 - 1) (according to the ffmpeg encoder...).
1254         We therefore scale down the framerate.
1255         Small indentation fixes using gst-indent.
1256
1257 2006-10-25  Wim Taymans  <wim@fluendo.com>
1258
1259         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
1260         (gst_ffmpeg_caps_to_codecid):
1261         Fix AMR caps. Fixes #364956.
1262
1263         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_get_stream):
1264         Activate pads before adding them.
1265
1266 2006-10-24  Edward Hervey  <edward@fluendo.com>
1267
1268         * ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_collected):
1269         The ->frame_size for RAW audio is 1.
1270         Should fix behaviour of some muxers.
1271
1272 2006-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
1273
1274         * gst-ffmpeg.spec.in:
1275           Build with -O1 by default since otherwise assembler breaks
1276
1277 2006-10-24  Edward Hervey  <edward@fluendo.com>
1278
1279         * ext/ffmpeg/gstffmpegcfg.c:
1280         FLV is in fact h263 and can take the same parameters as other mpeg
1281         derivatives.
1282         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
1283         (gst_ffmpeg_caps_with_codecid):
1284         Add pixel format to video/x-dv,systemstream=False
1285         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_class_init),
1286         (gst_ffmpegenc_init):
1287         Use EPZS (Enhanced Predictive Zonal Search) as the default motion
1288         estimation method, since it's the best quality to speed compromise.
1289
1290 2006-10-20  Mark Nauwelaerts <manauw@skynet.be>
1291
1292         Reviewed by: Edward Hervey  <edward@fluendo.com>
1293
1294         * configure.ac:
1295         postproc filters need liboil to detect the cpu architecture
1296         * ext/libpostproc/Makefile.am:
1297         Update for liboil requirement, libpostproc being moved around in
1298         ffmpeg mirror, and removal of unused header file.
1299         * ext/libpostproc/gstpostproc.h:
1300         Header file not needed anymore
1301         * ext/libpostproc/gstpostproc.c: (gst_pp_scope_get_type),
1302         (change_context), (append), (change_mode),
1303         (gst_post_proc_base_init), (gst_post_proc_class_init),
1304         (gst_post_proc_init), (gst_post_proc_dispose),
1305         (gst_post_proc_setcaps), (gst_post_proc_transform_ip),
1306         (gst_post_proc_set_property), (gst_post_proc_get_property),
1307         (gst_post_proc_deblock_set_property),
1308         (gst_post_proc_deblock_get_property),
1309         (gst_post_proc_tmpnoise_set_property),
1310         (gst_post_proc_tmpnoise_get_property),
1311         (gst_post_proc_autolevels_set_property),
1312         (gst_post_proc_autolevels_get_property),
1313         (gst_post_proc_forcequant_set_property),
1314         (gst_post_proc_forcequant_get_property), (gst_post_proc_register),
1315         (plugin_init):
1316         Port of postprocessing elements to 0.10.
1317
1318 2006-10-13  Edward Hervey  <edward@fluendo.com>
1319
1320         * ext/ffmpeg/gstffmpegcodecmap.c:
1321         (gst_ffmpeg_formatid_get_codecids):
1322         Added some codec mappings for dv and mov muxers.
1323         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_getcaps),
1324         (gst_ffmpegenc_register):
1325         Don't attempt to add caps to a NULL caps.
1326         Add video/x-raw-gray to the input raw video types.
1327
1328 2006-10-09  Edward Hervey  <edward@fluendo.com>
1329
1330         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_formatid_to_caps),
1331         (gst_ffmpeg_formatid_get_codecids):
1332         Added proper mime types for mxf and gxf formats.
1333         Added known configuration for asf muxer. Implies allowing the ffmpeg asf
1334         muxer to take WMV and WMA.
1335         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain):
1336         Most demuxers/formats don't give keyframe information on encoded
1337         audio streams. We therefore don't discard them, and use the clipping
1338         functionnality to drop the decoded buffers we didn't need.
1339
1340 2006-10-09  Edward Hervey  <edward@fluendo.com>
1341
1342         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):
1343         Set the rank of all demuxers for which we:
1344         _ Have no alternate demuxer,
1345         _ And are know not to crash like madmans,
1346         to GST_RANK_MARGINAL
1347
1348 2006-10-09  Edward Hervey  <edward@fluendo.com>
1349
1350         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):
1351         Disable the amr ffmpeg typefind function, it conflicts with
1352         gsttypefindfunctions' implementation.
1353
1354 2006-10-06  Edward Hervey  <edward@fluendo.com>
1355
1356         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_init):
1357         Properly initialize ->lmin, ->lmax and ->max_key_interval so we don't
1358         end up passing completely bogus data to the AVCodecContext.
1359         Fixes #355584
1360
1361 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
1362
1363         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_get_stream):
1364         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_setcaps):
1365           Printf format fixes.
1366
1367 2006-10-05  Edward Hervey  <edward@fluendo.com>
1368
1369         * ext/ffmpeg/gstffmpegprotocol.c: (gst_ffmpegdata_seek):
1370         Implement seeking for WRITE "gst" protocol.
1371         This allows muxers to properly seek and output correctly muxed files.
1372
1373 2006-10-05  Edward Hervey  <edward@fluendo.com>
1374
1375         * ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_change_state):
1376         We need to stop the collectpads in PAUSED->READY BEFORE chaining up to
1377         the parent class change_state. Else we end up in a locking behaviour
1378         with the sink pads stream locks.
1379
1380 2006-10-04  Wim Taymans  <wim@fluendo.com>
1381
1382         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_averror),
1383         (gst_ffmpegdemux_init), (gst_ffmpegdemux_close),
1384         (gst_ffmpegdemux_push_event), (gst_ffmpegdemux_send_event),
1385         (gst_ffmpegdemux_src_query), (gst_ffmpegdemux_open),
1386         (gst_ffmpegdemux_loop), (gst_ffmpegdemux_sink_activate),
1387         (gst_ffmpegdemux_sink_activate_push),
1388         (gst_ffmpegdemux_sink_activate_pull):
1389         Don't try to use or remove non-existing pads.
1390         Use _scale some more.
1391         Don't try to do maths with invalid timestamps. Fixes #359545.
1392         Prepare for push based scheduling.
1393
1394 2006-09-30  Edward Hervey  <edward@fluendo.com>
1395
1396         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps):
1397         Clarify some CODEC_ID <=> mime type conversions for image formats.
1398         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):
1399         Cleanup on demuxer registration.
1400         Bumped flv demuxer to RANK_MARGINAL since it proved solid enough.
1401         Will have to go over more demuxers, for which we don't have any
1402         gst-plugins-* alternative, to figure out which ones can move to
1403         RANK_MARGINAL too.
1404
1405 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
1406
1407         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_register):
1408         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_register):
1409           Don't leak caps in some cases and make build bots happy again.
1410
1411 2006-09-23  Edward Hervey  <edward@fluendo.com>
1412
1413         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
1414         (gst_ffmpeg_caps_to_codecid), (gst_ffmpeg_get_codecid_longname):
1415         Added definitions for FLASHSV, Flash Screen Video format.
1416
1417 2006-09-21  Edward Hervey  <edward@fluendo.com>
1418
1419         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_register):
1420         wc1/wmv3 ffmpeg decoder now works. Bumping rank to GST_RANK_MARGINAL.
1421
1422 2006-09-20  Edward Hervey  <edward@fluendo.com>
1423
1424         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
1425         (gst_ffmpeg_caps_to_codecid), (gst_ffmpeg_get_codecid_longname):
1426         Adding codec mapping for vp5, vp6, vp6f and cavs.
1427
1428 2006-09-20  Edward Hervey  <edward@fluendo.com>
1429
1430         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
1431         (gst_ffmpeg_get_codecid_longname):
1432         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_register):
1433         Seems like the ffmpeg folks finally understood that VC9 does not
1434         exist, and that it's in fact VC1 (aka WMV9 or WMV3, but that's yet
1435         another debate).
1436
1437 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
1438
1439         * ext/ffmpeg/gstffmpegdec.c:
1440         * ext/ffmpeg/gstffmpegdeinterlace.c:
1441         * ext/ffmpeg/gstffmpegenc.h:
1442         * ext/ffmpeg/gstffmpegmux.c:
1443         * ext/ffmpeg/gstffmpegscale.c:
1444           More G_OBJECT macro fixing.
1445
1446 2006-09-13  Wim Taymans  <wim@fluendo.com>
1447
1448         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_open),
1449         (check_keyframe), (gst_ffmpegdec_video_frame),
1450         (gst_ffmpegdec_chain):
1451         Add some more timestamp debugging.
1452         Fixed wrong duration whn not using a parser.
1453
1454 2006-09-08  Edward Hervey  <edward@fluendo.com>
1455
1456         * ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_request_new_pad),
1457         (gst_ffmpegmux_sink_event), (gst_ffmpegmux_collected):
1458         Port tag-writing support in the muxers.
1459
1460 2006-09-08  Edward Hervey  <edward@fluendo.com>
1461
1462         Patch by: Michal Benes  <michal dot benes at xeris dot cz>
1463         
1464         * ext/ffmpeg/Makefile.am:
1465         * ext/ffmpeg/gstffmpeg.c: (plugin_init):
1466         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_caps_to_codecid):
1467         * ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_base_init),
1468         (gst_ffmpegmux_init), (gst_ffmpegmux_finalize),
1469         (gst_ffmpegmux_request_new_pad), (gst_ffmpegmux_setcaps),
1470         (gst_ffmpegmux_collected), (gst_ffmpegmux_change_state),
1471         (gst_ffmpegmux_register):
1472         Port of FFMpeg muxers to 0.10.
1473         Still needs some loving in gstffmpegcodecmap to have them all supported
1474         with correct input formats.
1475         Closes #332339
1476
1477 2006-09-06  Wim Taymans  <wim@fluendo.com>
1478
1479         Patch by: Sebastien Moutte <sebastien at moutte dot net>
1480
1481         * ext/ffmpeg/gstffmpeg.c: (plugin_init):
1482         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ff_vid_caps_new),
1483         (gst_ff_aud_caps_new), (gst_ffmpeg_codecid_to_caps),
1484         (gst_ffmpeg_pixfmt_to_caps), (gst_ffmpeg_smpfmt_to_caps),
1485         (gst_ffmpeg_init_pix_fmt_info):
1486         * ext/ffmpeg/gstffmpegcodecmap.h:
1487         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_send_event):
1488         * ext/ffmpeg/gstffmpegprotocol.c:
1489         Make stuff compile on Visual Studio 6.
1490         Convert some crach macros to functions.
1491         Convert some static tables to _init functions.
1492         Fixes #343951.
1493
1494 2006-09-06  Wim Taymans  <wim@fluendo.com>
1495
1496         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain):
1497         Do early keyframe check again, feeding bad data in ffmpeg is not a good
1498         idea after all.
1499
1500 2006-09-06  Wim Taymans  <wim@fluendo.com>
1501
1502         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
1503
1504         * ext/ffmpeg/Makefile.am:
1505         * ext/ffmpeg/gstffmpegcfg.c: (gst_ffmpeg_pass_get_type),
1506         (gst_ffmpeg_lim_pass_get_type), (gst_ffmpeg_mb_decision_get_type),
1507         (gst_ffmpeg_mb_cmp_get_type), (gst_ffmpeg_dct_algo_get_type),
1508         (gst_ffmpeg_idct_algo_get_type), (gst_ffmpeg_quant_type_get_type),
1509         (gst_ffmpeg_pre_me_get_type), (gst_ffmpeg_pred_method_get_type),
1510         (gst_ffmpeg_flags_get_type), (gst_ffmpeg_cfg_init),
1511         (gst_ffmpeg_cfg_codec_has_pspec),
1512         (gst_ffmpeg_cfg_install_property), (gst_ffmpeg_cfg_set_property),
1513         (gst_ffmpeg_cfg_get_property), (gst_ffmpeg_cfg_set_defaults),
1514         (gst_ffmpeg_cfg_fill_context):
1515         * ext/ffmpeg/gstffmpegcfg.h:
1516         Added helper object to handle extra properties.
1517
1518         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_class_init),
1519         (gst_ffmpegenc_init), (gst_ffmpegenc_dispose),
1520         (gst_ffmpegenc_getcaps), (gst_ffmpegenc_setcaps),
1521         (gst_ffmpegenc_chain_video), (gst_ffmpegenc_chain_audio),
1522         (gst_ffmpegenc_flush_buffers), (gst_ffmpegenc_event_video),
1523         (gst_ffmpegenc_set_property), (gst_ffmpegenc_get_property),
1524         (gst_ffmpegenc_change_state), (gst_ffmpegenc_register):
1525         * ext/ffmpeg/gstffmpegenc.h:
1526         Exposes (quite some of) the AVCodecContext configurable
1527         settings, as well as some additional (though simple) logic for b-frame
1528         delay handling.
1529         Most of the properties are only enabled for mpeg4-like codecs.
1530         Fixes #344583.
1531
1532 2006-09-05  Wim Taymans  <wim@fluendo.com>
1533
1534         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain):
1535         Disable early keyframe check, it causes crashes and is not really
1536         needed. 
1537
1538 2006-09-05  Wim Taymans  <wim@fluendo.com>
1539
1540         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame),
1541         (gst_ffmpegdec_chain):
1542         Even more timestamp fixage.
1543         Also keep track of pending durations.
1544         don't lose our timestamp when joining the cache.
1545
1546 2006-09-05  Wim Taymans  <wim@fluendo.com>
1547
1548         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_video_frame),
1549         (gst_ffmpegdec_audio_frame), (gst_ffmpegdec_frame),
1550         (gst_ffmpegdec_sink_event), (gst_ffmpegdec_chain):
1551         More timestamp fixage.
1552         Don't pass around buffers just to pass its timestamp since we
1553         cannot update it.
1554         After decoding a buffer, don't use the timestamp of the buffer
1555         anymore but let the interpolation do its work.
1556
1557 2006-09-05  Wim Taymans  <wim@fluendo.com>
1558
1559         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain):
1560         Fix timestamping some more by actually using the ffmpeg parsers
1561         correctly. Fixes #341736
1562
1563 2006-08-29  Wim Taymans  <wim@fluendo.com>
1564
1565         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_open),
1566         (gst_ffmpegdec_negotiate), (clip_video_buffer),
1567         (clip_audio_buffer), (gst_ffmpegdec_audio_frame),
1568         (gst_ffmpegdec_frame), (gst_ffmpegdec_sink_event),
1569         (gst_ffmpegdec_chain):
1570         Mark outgoing buffers with DISCONT when needed.
1571         Small cleanups.
1572         Fix timestamps on audio decoders.
1573         better audio clipping.
1574         Fixes #352579.
1575
1576 2006-08-21  Wim Taymans  <wim@fluendo.com>
1577
1578         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_caps_with_codecid):
1579         Pad extradata. Allocate dummy empty extradata because some codecs like
1580         to read it and segfault when it's not there.
1581
1582 2006-08-16  Wim Taymans  <wim@fluendo.com>
1583
1584         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
1585
1586         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_setcaps):
1587         If we are not operating in RTP mode, leave the default rtp encoder
1588         settings as they are so that we don't unintentionally activate it.
1589         Fixes #351415.
1590
1591
1592 2006-08-14  Edward Hervey  <edward@fluendo.com>
1593
1594         * configure.ac:
1595         Don't build programs in ffmpeg checkout, since we're never going to use
1596         them in the gstreamer plugin. Also it allows building the plugin on
1597         systems that don't have UI-specific libraries (like X).
1598
1599 2006-07-19  Wim Taymans  <wim@fluendo.com>
1600
1601         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_lowres_get_type),
1602         (gst_ffmpegdec_skipframe_get_type), (gst_ffmpegdec_class_init),
1603         (gst_ffmpegdec_init), (gst_ffmpegdec_open),
1604         (gst_ffmpegdec_setcaps), (gst_ffmpegdec_negotiate),
1605         (gst_ffmpegdec_do_qos), (clip_video_buffer), (check_keyframe),
1606         (get_output_buffer), (gst_ffmpegdec_video_frame),
1607         (gst_ffmpegdec_frame), (gst_ffmpegdec_sink_event),
1608         (gst_ffmpegdec_chain):
1609         Make some enums const.
1610         Cleanups, refactoring.
1611         Better video frame clipping.
1612         Timestamp fixe: use timestamp from incomming buffer even if there
1613         is no input framerate given (as this is totally unrelated).
1614
1615 2006-06-12  Edward Hervey  <edward@fluendo.com>
1616
1617         * .cvsignore:
1618         ignore more files
1619
1620 2006-06-06  Edward Hervey  <edward@fluendo.com>
1621
1622         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_open): 
1623         mpeg4 parsing still utterly broken :(
1624
1625 2006-06-02  Edward Hervey  <edward@fluendo.com>
1626
1627         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain):
1628         Nothing to see, pass your way, I didn't screwup the previous commit.
1629
1630 2006-06-02  Edward Hervey  <edward@fluendo.com>
1631
1632         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_init),
1633         (gst_ffmpegdec_query), (gst_ffmpegdec_update_qos),
1634         (gst_ffmpegdec_reset_qos), (gst_ffmpegdec_read_qos),
1635         (gst_ffmpegdec_open), (gst_ffmpegdec_setcaps),
1636         (gst_ffmpegdec_get_buffer), (gst_ffmpegdec_release_buffer),
1637         (gst_ffmpegdec_add_pixel_aspect_ratio), (gst_ffmpegdec_negotiate),
1638         (gst_ffmpegdec_do_qos), (gst_ffmpegdec_video_frame),
1639         (gst_ffmpegdec_audio_frame), (gst_ffmpegdec_frame),
1640         (gst_ffmpegdec_flush_pcache), (gst_ffmpegdec_sink_event),
1641         (gst_ffmpegdec_chain):
1642         Split out audio and video frame decoding.
1643         Added dropping/clipping of decoded buffers.
1644         Ran gst-indent on code.
1645         Small non-invasive code cleanups.
1646
1647 2006-06-02  Michael Smith  <msmith@fluendo.com>
1648
1649         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):
1650           One of the ffmpeg 'plugins' changed its name with the latest update
1651           of the snapshot. Change the blacklisted typefind list to match.
1652
1653 2006-06-02  Michael Smith  <msmith@fluendo.com>
1654
1655         reviewed by: <delete if not using a buddy>
1656
1657         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):
1658         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_chain_video):
1659
1660 2006-05-26  Edward Hervey  <edward@fluendo.com>
1661
1662         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
1663         (gst_ffmpeg_pixfmt_to_caps), (gst_ffmpeg_smpfmt_to_caps),
1664         (gst_ffmpeg_formatid_to_caps), (gst_ffmpeg_formatid_get_codecids),
1665         (gst_ffmpeg_get_codecid_longname):
1666         Change all GST_WARNING to GST_LOG. None of these warning are
1667         really critical issues anyway.
1668         
1669 2006-05-19  Thomas Vander Stichele  <thomas at apestaart dot org>
1670
1671         * configure.ac:
1672           fix test by finding base plugins
1673
1674 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
1675
1676         * tests/check/gst-ffmpeg.supp:
1677           Add missing file (which prepare-ChangeLog didn't pick up
1678           because it's empty).
1679
1680 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
1681
1682         * tests/check/generic/libavcodec-locking.c: (GST_START_TEST),
1683         (simple_launch_lines_suite), (main):
1684           Only run test when encoder element is available (we might
1685           have been configured with --disable-encoders).
1686
1687 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
1688
1689         Patch by: Luca Ognibene  <luogni at tin dot it>
1690
1691         * tests/check/Makefile.am:
1692         * tests/check/generic/libavcodec-locking.c: (setup_pipeline),
1693         (run_pipeline), (GST_START_TEST), (simple_launch_lines_suite),
1694         (main):
1695           Add test case for libavcodec locking
1696
1697 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
1698
1699         * Makefile.am:
1700         * configure.ac:
1701         * tests/Makefile.am:
1702         * tests/check/.cvsignore:
1703         * tests/check/Makefile.am:
1704         * tests/check/generic/.cvsignore:
1705           Add test infrastructure to gst-ffmpeg (#324279).
1706
1707 2006-05-08  Edward Hervey  <edward@fluendo.com>
1708
1709         * autogen.sh: (CONFIGURE_DEF_OPT): 
1710         libtoolize on Darwin/MacOSX is called glibtoolize
1711
1712 2006-05-07  Jan Schmidt  <thaytan@mad.scientist.com>
1713
1714         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
1715         (gst_ffmpeg_caps_with_codecid), (gst_ffmpeg_formatid_get_codecids),
1716         (gst_ffmpeg_caps_to_codecid), (gst_ffmpeg_get_codecid_longname):
1717         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_class_init):
1718         Add mappings for RealVideo 4.0, AMR-WB, AMR-NB and DTS to silence
1719         warnings when registering.
1720         Only register the 1/2,1/4 size decode and frame-skipping properties
1721         on video decoders.
1722
1723         * gst-libs/ext/ffmpeg/configure.ac:
1724         * gst-libs/ext/ffmpeg/libavformat/Makefile.am:
1725         * gst-libs/ext/ffmpeg/patches/autotools.patch:
1726         Merge patch by Sam Morris to allow disabling of decoders. 
1727         Fixes #324366
1728
1729 2006-05-07  Jan Schmidt  <thaytan@mad.scientist.com>
1730
1731         * gst-libs/ext/ffmpeg/patches/autotools.patch:
1732         * gst-libs/ext/ffmpeg/patches/noinst.patch:
1733         Refresh patches to incorporate MikeS' automake 1.9 changes from a
1734         while back.
1735
1736 2006-05-02  Tim-Philipp Müller  <tim at centricular dot net>
1737
1738         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):
1739           Give ffmpeg demuxers a rank of NONE for the time being, so that
1740           they are not auto-plugged; they are not stable enough for that
1741           yet (e.g. #337785). Don't register AAC demuxer, it's not really
1742           useful and can't be used as faad replacement (#338928).
1743
1744 2006-04-24  Edgard Lima <edgard.lima@indt.org.br>
1745
1746         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_chain_video):
1747         just make it compile with --disable-gst-debug.
1748
1749 2006-04-21  Andy Wingo  <wingo@pobox.com>
1750
1751         * configure.ac (GST_MAJORMINOR): Drop the required gstreamer
1752         version back down to the latest release, I don't think thomas'
1753         commit on 1 april was meant to change it.
1754
1755         * ext/ffmpeg/gstffmpegdec.c (gst_ffmpegdec_register): Up the rank
1756         of the dv video decoder.
1757
1758 2006-04-19  J^ <j@bootlab.org>
1759
1760         reviewed by: Edward Hervey  <edward@fluendo.com>
1761
1762         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
1763         (gst_ffmpeg_formatid_to_caps), (gst_ffmpeg_formatid_get_codecids),
1764         (gst_ffmpeg_get_codecid_longname):
1765         Added proper GstCaps <==> CodecId for Apple QDRaw.
1766         Fixed up proper wrapping for GstCaps <==> FormatId.
1767
1768 2006-04-18  Wim Taymans  <wim@fluendo.com>
1769
1770         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_perform_seek),
1771         (gst_ffmpegdemux_loop):
1772         Don't try to convert -1 values when seeking.
1773         Adjust timestamps with start_time of the stream.
1774
1775 2006-04-13  Wim Taymans  <wim@fluendo.com>
1776
1777         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_base_init),
1778         (gst_ffmpegdemux_class_init), (gst_ffmpegdemux_init),
1779         (gst_ffmpegdemux_close), (gst_ffmpegdemux_push_event),
1780         (gst_ffmpegdemux_set_flags), (gst_ffmpegdemux_is_eos),
1781         (gst_ffmpegdemux_do_seek), (gst_ffmpegdemux_perform_seek),
1782         (gst_ffmpegdemux_src_event), (gst_ffmpegdemux_send_event),
1783         (gst_ffmpegdemux_src_query), (gst_ffmpegdemux_src_convert),
1784         (gst_ffmpegdemux_get_stream), (my_safe_copy),
1785         (gst_ffmpegdemux_read_tags), (gst_ffmpegdemux_open),
1786         (gst_ffmpegdemux_loop), (gst_ffmpegdemux_sink_activate),
1787         (gst_ffmpegdemux_sink_activate_pull),
1788         (gst_ffmpegdemux_change_state), (gst_ffmpegdemux_register):
1789         Rework the demuxer, implement all seeking stuff including
1790         seek in ready.
1791
1792         * ext/ffmpeg/gstffmpegprotocol.c: (gst_ffmpegdata_peek),
1793         (gst_ffmpegdata_close):
1794         Handle some more cases.
1795
1796 2006-04-11  Wim Taymans  <wim@fluendo.com>
1797
1798         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_sink_event):
1799         Actually convert to time instead of pretending.. Also
1800         the bitrate of the context is mostly wrong so don't
1801         bother calculating a stop position.
1802         Closing (#331323)
1803
1804 2006-04-10  Wim Taymans  <wim@fluendo.com>
1805
1806         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain):
1807         When we see a keyframe don't wait for another one.
1808
1809 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
1810
1811         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_class_init):
1812         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_class_init):
1813         * ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_class_init):
1814         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
1815
1816 2006-04-08  Wim Taymans  <wim@fluendo.com>
1817
1818         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_do_qos):
1819         Too bad we can't use gst_private.h..
1820
1821 2006-04-08  Wim Taymans  <wim@fluendo.com>
1822
1823         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_avpicture_fill):
1824         Some other formats, still commented out, though.
1825
1826 2006-04-08  Wim Taymans  <wim@fluendo.com>
1827
1828         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_class_init),
1829         (gst_ffmpegdec_init), (gst_ffmpegdec_finalize),
1830         (gst_ffmpegdec_query), (gst_ffmpegdec_update_qos),
1831         (gst_ffmpegdec_reset_qos), (gst_ffmpegdec_read_qos),
1832         (gst_ffmpegdec_src_event), (gst_ffmpegdec_open),
1833         (gst_ffmpegdec_setcaps), (gst_ffmpegdec_get_buffer),
1834         (gst_ffmpegdec_release_buffer),
1835         (gst_ffmpegdec_add_pixel_aspect_ratio), (gst_ffmpegdec_negotiate),
1836         (gst_ffmpegdec_do_qos), (gst_ffmpegdec_frame),
1837         (gst_ffmpegdec_flush_pcache), (gst_ffmpegdec_sink_event),
1838         (gst_ffmpegdec_chain):
1839         Cleanups.  Fix refcounting here and there. use DEBUG_OBJECT,
1840         refactor some functions. Use GstSegment.
1841         Implement simple QOS by using the ffmpeg hurry_up field.
1842
1843 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
1844
1845         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):
1846           Register id3 demuxer, avi demuxer and ogg demuxer with
1847           a rank of GST_RANK_NONE so that they don't get
1848           autoplugged accidentally. We want people to install
1849           the demuxers that are known to work well rather than
1850           mostly untested stuff like ffdemux_*.
1851
1852 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
1853
1854         * ext/ffmpeg/gstffmpeg.c:
1855         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps):
1856         * ext/ffmpeg/gstffmpegdec.c:
1857         (gst_ffmpegdec_add_pixel_aspect_ratio), (gst_ffmpegdec_frame):
1858         * ext/ffmpeg/gstffmpegprotocol.c: (gst_ffmpegdata_seek):
1859         * ext/ffmpeg/gstffmpegscale.c: (gst_ffmpegscale_transform_caps),
1860         (gst_ffmpegscale_handle_src_event):
1861           various compiler fixes
1862         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_src_event),
1863         (my_safe_copy), (gst_ffmpegdemux_open),
1864         (gst_ffmpegdemux_change_state):
1865           actually return the result.  Tee hee.
1866
1867 2006-03-31  Thomas Vander Stichele <thomas at apestaart dot org>
1868
1869         * configure.ac:
1870           back to HEAD
1871
1872 === release 0.10.1 ===
1873
1874 2006-03-31  Thomas Vander Stichele <thomas at apestaart dot org>
1875
1876         * configure.ac:
1877           releasing 0.10.1, "Late Train"
1878
1879 2006-03-22  Wim Taymans  <wim@fluendo.com>
1880
1881         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_close),
1882         (gst_ffmpegdec_setcaps), (gst_ffmpegdec_change_state):
1883         make _open and _close as functions that should be
1884         called with the object lock instead of them taking a
1885         lock themselves. This fixes a deadlock when 
1886         _open fails.
1887
1888 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
1889
1890         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame):
1891           Don't use gst_pad_alloc_buffer() for frames with palette,
1892           as we'll artificially shorten the size of buffers in that
1893           case and GstBaseTransform will complain about unit size
1894           issues if we use _alloc_buffer() with the full size.
1895
1896 2006-03-01  Michal Benes  <michal dot benes at xeris dot cz>
1897
1898         reviewed by: Edward Hervey  <edward@fluendo.com>
1899
1900         * ext/ffmpeg/Makefile.am:
1901         * ext/ffmpeg/gstffmpeg.c: (plugin_init):
1902         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_formatid_to_caps),
1903         (gst_ffmpeg_formatid_get_codecids):
1904         * ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_base_init),
1905         (gst_ffmpegmux_init), (gst_ffmpegmux_finalize),
1906         (gst_ffmpegmux_request_new_pad), (gst_ffmpegmux_setcaps),
1907         (gst_ffmpegmux_collected), (gst_ffmpegmux_change_state),
1908         (gst_ffmpegmux_register):
1909         Port of FFMpeg muxers to 0.10.
1910         Still needs some loving in gstffmpegcodecmap to have them all supported
1911         with correct input formats.
1912         Closes #332339
1913         
1914
1915 2006-03-01  Michal Benes  <michal dot benes at xeris dot cz>
1916
1917         Reviewed by : Edward Hervey  <edward@fluendo.com>
1918
1919         * ext/ffmpeg/Makefile.am:
1920         * ext/ffmpeg/gstffmpeg.c: (plugin_init):
1921         * ext/ffmpeg/gstffmpegscale.c: (gst_ffmpegscale_base_init),
1922         (gst_ffmpegscale_class_init), (gst_ffmpegscale_init),
1923         (gst_ffmpegscale_finalize), (gst_ffmpegscale_transform_caps),
1924         (gst_ffmpegscale_fixate_caps), (gst_ffmpegscale_get_unit_size),
1925         (gst_ffmpegscale_set_caps), (gst_ffmpegscale_transform),
1926         (gst_ffmpegscale_handle_src_event), (gst_ffmpegscale_register):
1927         Port of ffvideoscale to 0.10.
1928         Closes #332557
1929
1930 2006-03-01  Josef Zlomek  <josef dot zlomek at itonis dot tv>
1931
1932         Reviewed by : Edward Hervey  <edward@fluendo.com>
1933
1934         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_chain_audio):
1935         Fix segmentation fault and memleak.
1936         Fixes #332995 and #333001
1937
1938 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
1939
1940         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame):
1941           ... can't adjust buffer size of NULL buffers though
1942           (as happens when seeking in video from #327075).
1943
1944 2006-02-24  Michael Smith  <msmith@fluendo.com>
1945
1946         * autogen.sh:
1947         * gst-libs/ext/ffmpeg/autogen.sh:
1948           Allow automake 1.9
1949
1950 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
1951
1952         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_get_palette),
1953         (gst_ffmpeg_set_palette):
1954           Use AVPALETTE_SIZE macro instead of magic value for clarity.
1955
1956         Based on patch by: Fabrizio Gennari
1957         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame):
1958           In GStreamer, the size of the palette is not part of
1959           GST_BUFFER_SIZE, so adjust buffer size of outgoing buffers
1960           accordingly if there's a palette (fixes #327028)
1961
1962 2006-02-21  Edward Hervey  <edward@fluendo.com>
1963
1964         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
1965         (gst_ffmpeg_formatid_to_caps):
1966         Added proper formatid to caps conversion for ogg, gif, yuv4mpeg and
1967         quicktime formats.
1968
1969 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
1970
1971         * configure.ac:
1972         Apply patch from Sebastien Cote to handle --with-pkg-config-path
1973         before looking for GStreamer patches. (Re-closes #319248)
1974
1975 2006-02-19  Jan Schmidt  <thaytan@mad.scientist.com>
1976
1977         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
1978         (gst_ffmpeg_caps_with_codecid):
1979         Add extra detail to the Real format caps. With this info, 
1980         filesrc ! ffdemux_rm ! ffdec_cook ! ... works, but using rmdemux
1981         doesn't. The order of the data the demuxers output appears to be
1982         different.
1983
1984 2006-02-19  Jan Schmidt  <thaytan@mad.scientist.com>
1985
1986         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
1987         (gst_ffmpeg_formatid_to_caps), (gst_ffmpeg_get_codecid_longname):
1988         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):
1989         Add new codec ids and fix up some of the codec->mime type mappings
1990
1991 2006-02-19  Jan Schmidt  <thaytan@mad.scientist.com>
1992
1993         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
1994         (gst_ffmpeg_caps_to_codecid), (gst_ffmpeg_get_codecid_longname):
1995         Add codec mapping for RealAudio G2 (Cook) codec.
1996
1997 2006-02-19  Jan Schmidt  <thaytan@mad.scientist.com>
1998
1999         * HACKING:
2000         Mention ffmpeg snapshot update
2001
2002         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
2003         (gst_ffmpeg_caps_to_codecid), (gst_ffmpeg_get_codecid_longname):
2004         Add new codec types from FFMpeg snapshot update to 2006-02-17 4:00 GMT
2005
2006 2006-02-17  Wim Taymans  <wim@fluendo.com>
2007
2008         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_sink_activate):
2009         Post nice error message when we cannot activate in pull mode.
2010
2011 2006-02-14  Edward Hervey  <edward@fluendo.com>
2012
2013         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_open):
2014         If the duration returned by ffmpeg is 0, it doesn't mean the file has
2015         no duration, but that it doesn't know the end.
2016         Fixed accordingly for segment_stop.
2017
2018 2006-02-13  Edward Hervey  <edward@fluendo.com>
2019
2020         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_release_buffer),
2021         (gst_ffmpegdec_frame):
2022         More fixes for keyframe detection in ffmpeg decoders...
2023
2024 2006-02-12  Thomas Vander Stichele  <thomas at apestaart dot org>
2025
2026         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_caps_to_pixfmt):
2027         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_getcaps):
2028           respect pixel-aspect-ratio when encoding.
2029
2030 2006-02-12  Edward Hervey  <edward@fluendo.com>
2031
2032         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_init),
2033         (gst_ffmpegdemux_close), (gst_ffmpegdemux_handle_seek),
2034         (gst_ffmpegdemux_add), (my_safe_copy), (gst_ffmpegdemux_read_tags),
2035         (gst_ffmpegdemux_open), (gst_ffmpegdemux_loop):
2036         Add Tag support and keyframe seeking (for those formats where ffmpeg
2037         actually fills in the index).
2038         * ext/ffmpeg/gstffmpegprotocol.c: (gst_ffmpegdata_peek),
2039         (gst_ffmpegdata_read), (gst_ffmpegdata_seek):
2040         Add support for size querying.
2041
2042 2006-02-11  Thomas Vander Stichele  <thomas at apestaart dot org>
2043
2044         * ext/ffmpeg/gstffmpeg.c:
2045           set correct version on the plug-in - the GStreamer
2046           FFMpeg version.  I could swear I had already done this
2047           before.
2048
2049 2006-02-11  Thomas Vander Stichele  <thomas at apestaart dot org>
2050
2051         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_class_init),
2052         (gst_ffmpegenc_init), (gst_ffmpegenc_setcaps):
2053           debug and magic number fixes
2054
2055 2006-02-10  Edward Hervey  <edward@fluendo.com>
2056
2057         * ext/ffmpeg/Makefile.am:
2058         * ext/ffmpeg/gstffmpeg.c: (plugin_init):
2059         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_base_init),
2060         (gst_ffmpegdemux_init), (gst_ffmpegdemux_stream_from_pad),
2061         (gst_ffmpegdemux_handle_seek), (gst_ffmpegdemux_src_event),
2062         (gst_ffmpegdemux_src_query_list), (gst_ffmpegdemux_src_query),
2063         (gst_ffmpegdemux_add), (gst_ffmpegdemux_open),
2064         (gst_ffmpegdemux_loop), (gst_ffmpegdemux_sink_activate),
2065         (gst_ffmpegdemux_sink_activate_pull),
2066         (gst_ffmpegdemux_change_state), (gst_ffmpegdemux_register):
2067         * ext/ffmpeg/gstffmpegprotocol.c: (gst_ffmpegdata_open),
2068         (gst_ffmpegdata_peek), (gst_ffmpegdata_read),
2069         (gst_ffmpegdata_write), (gst_ffmpegdata_seek),
2070         (gst_ffmpegdata_close):
2071         Welcome the demuxers to 0.10 :)
2072         For the time being the demuxers work only pull-based.
2073         Seeking, querying works.
2074
2075 2006-02-10  Edward Hervey  <edward@fluendo.com>
2076
2077         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps):
2078         added CODEC_ID_FLV1 <==> 'video/x-flash-video,flvversion=1' conversion.
2079
2080 2006-02-06  Thomas Vander Stichele  <thomas at apestaart dot org>
2081
2082         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
2083         (gst_ffmpeg_smpfmt_to_caps):
2084         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_setcaps),
2085         (gst_ffmpegdec_negotiate), (gst_ffmpegdec_frame),
2086         (gst_ffmpegdec_chain):
2087           debug recurring events at LOG level
2088           do some timestamp setting heuristics on the pcache, with the
2089           net result of having more buffers have approximately correct
2090           timestamps.
2091           This allows playback of h263/3gp files taking fps from the demuxer,
2092           which before always set GST_CLOCK_TIME_NONE as timestamp.
2093
2094 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
2095
2096         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_get_palette):
2097           Buffers aren't boxed types any longer.
2098
2099 2006-02-03  Edgard Lima <edgard.lima@indt.org.br>
2100
2101         * ext/ffmpeg/gstffmpegenc.c:
2102           Just make it compile with --disable-gst-debug.
2103                         
2104 2006-02-02  Andy Wingo  <wingo@pobox.com>
2105
2106         * ext/ffmpeg/gstffmpegdec.c (gst_ffmpegdec_register): Reorder case
2107         statements to make control flow more clear.
2108
2109 2006-02-02  Christian Schaller <christian at fluendo dot com>
2110
2111         * Set rank NONE for mp3 and mpeg2video:
2112           They don't work properly and having them autoplugged
2113           gives people a bad impression and leads them to not grab 
2114           mad or fluendo mp3. Fixes #162833
2115
2116 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
2117
2118         * configure.ac:
2119           fix build of deinterlace
2120
2121 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
2122
2123         * docs/plugins/Makefile.am:
2124         * docs/plugins/gst-ffmpeg-plugins-docs.sgml:
2125           first stab at documenting ffmpeg elements.  Needs work.
2126
2127 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
2128
2129         * configure.ac:
2130         * docs/Makefile.am:
2131         * docs/plugins/.cvsignore:
2132         * docs/plugins/gst-ffmpeg-plugins-docs.sgml:
2133         * docs/plugins/gst-ffmpeg-plugins.args:
2134         * docs/plugins/gst-ffmpeg-plugins.hierarchy:
2135         * docs/plugins/gst-ffmpeg-plugins.interfaces:
2136         * docs/plugins/gst-ffmpeg-plugins.prerequisites:
2137         * docs/plugins/gst-ffmpeg-plugins.types:
2138         * docs/plugins/inspect.stamp:
2139         * docs/plugins/inspect/plugin-ffmpeg.xml:
2140         * docs/version.entities.in:
2141           First step at adding docs
2142
2143 2006-01-26  Tim-Philipp Müller  <tim at centricular dot net>
2144
2145         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_caps_with_codecid):
2146           Pad codec data buffer to a size that is a multiple of 16, which
2147           ffmpeg apparently needs for optimized/unchecked access to the
2148           data. Fixes crashes with HD h264 video.
2149
2150 2006-01-23  Edward Hervey  <edward@fluendo.com>
2151
2152         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps):
2153         Added CODEC_ID_SMC <==> video/x-smc   caps
2154         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame):
2155         I hate ffmpeg... no keyframe information at all for VP3, so we have
2156         to assume they're all keyframes :(
2157
2158 2006-01-20  Martin Zlomek from Itonis (michael.benes@xeris.cz)
2159
2160         reviewed by: Edward Hervey  <edward@fluendo.com>
2161
2162         * ext/ffmpeg/Makefile.am:
2163         * ext/ffmpeg/gstffmpeg.c: (plugin_init):
2164         * ext/ffmpeg/gstffmpegdeinterlace.c:
2165         (gst_ffmpegdeinterlace_base_init),
2166         (gst_ffmpegdeinterlace_class_init),
2167         (gst_ffmpegdeinterlace_sink_setcaps), (gst_ffmpegdeinterlace_init),
2168         (gst_ffmpegdeinterlace_chain), (gst_ffmpegdeinterlace_register):
2169         ffdeinterlace port to 0.10.
2170         Could be made a subclass of GstBaseTransform later on...
2171
2172 2006-01-20  Michal Benes  <michael.benes@xeris.cz>
2173
2174         Reviewed by : Edward Hervey  <edward@fluendo.com>
2175
2176         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_chain_audio): 
2177         Caps weren't set on outgoing audio buffers.
2178         Closes #327861
2179
2180 2006-01-17  Edward Hervey  <edward@fluendo.com>
2181
2182         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain):
2183         Memleak fix.
2184         Closes #326704
2185
2186 2006-01-17  Edward Hervey  <edward@fluendo.com>
2187
2188         * configure.ac:
2189         Add --with-pkg-config-path argument.
2190         Closes #319248
2191
2192 2006-01-12  Andy Wingo  <wingo@pobox.com>
2193
2194         * libavcodec/utils.c: Fix for CVE-2005-4048 (bugzilla bug
2195         #324209), buffer overflow with small PNG images with palettes.
2196         Patch by: Loïc Minier <lool+gnome at via.ecp.fr>
2197
2198         * libavutil/Makefile.am (INCLUDES): Add ALTIVEC_CFLAGS here, fixes
2199         compilation on ppc (#320238).
2200
2201 2006-01-11  Edward Hervey  <edward@fluendo.com>
2202
2203         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame):
2204         Add exception for Indeo3 keyframe detection until upstream ffmpeg
2205         behaves properly.
2206
2207 2005-12-19  Edward Hervey  <edward@fluendo.com>
2208
2209         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps):
2210         Update ffmpeg_codec_id <=> mimetype conversions
2211         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame):
2212         Finer grained keyframe detection
2213
2214 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
2215
2216         Patch by: Sebastien Cote
2217         Patch by: Luca Ognibene
2218         * ext/ffmpeg/gstffmpeg.c: (gst_ffmpeg_avcodec_open),
2219         (gst_ffmpeg_avcodec_close):
2220         * ext/ffmpeg/gstffmpeg.h:
2221         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_close),
2222         (gst_ffmpegdec_open):
2223         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_dispose),
2224         (gst_ffmpegenc_getcaps), (gst_ffmpegenc_setcaps),
2225         (gst_ffmpegenc_change_state):
2226           Do proper locking around avcodec_open() and avcodec_close()
2227           (fixes #322254)
2228
2229 2005-12-10  Tim-Philipp Müller  <tim at centricular dot net>
2230
2231         * gst-libs/ext/Makefile.am:
2232           We need to use $(MAKE) here instead of 'make' (on some
2233           systems it's gmake that needs to be called, for example)
2234
2235 2005-12-07  Edward Hervey  <edward@fluendo.com>
2236
2237         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame):
2238         So, stupid ffmpeg.... Not all [en|de]coders set AVFrame->type.
2239         This should handle the case where AVFrame->reference is set to 1 (which
2240         is the equivalent of a keyframe).
2241         Also fixes #323286.
2242         I tried a truckload of other files with this modification and it didn't
2243         seem to break playback.
2244
2245 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
2246
2247         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
2248         (gst_ffmpeg_pixfmt_to_caps), (gst_ffmpeg_caps_to_pixfmt),
2249         (gst_ffmpeg_caps_with_codecid), (gst_ffmpeg_caps_to_codecid):
2250         * ext/ffmpeg/gstffmpegcodecmap.h:
2251         * ext/ffmpeg/gstffmpegdeinterlace.c:
2252         (gst_ffmpegdeinterlace_pad_link), (gst_ffmpegdeinterlace_init),
2253         (gst_ffmpegdeinterlace_chain):
2254         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_class_init),
2255         (gst_ffmpegenc_chain_audio):
2256         * ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_loop):
2257         * ext/ffmpeg/gstffmpegprotocol.c: (gst_ffmpegdata_write):
2258         * ext/ffmpeg/gstffmpegscale.c: (gst_ffmpegscale_pad_link),
2259         (gst_ffmpegscale_init), (gst_ffmpegscale_chain),
2260         (gst_ffmpegscale_change_state):
2261         * ext/libpostproc/gstpostproc.c: (change_context), (change_mode),
2262         (gst_postproc_base_init), (gst_postproc_class_init),
2263         (gst_postproc_init), (gst_postproc_link), (gst_postproc_chain),
2264         (gst_postproc_change_state), (gst_postproc_set_property),
2265         (gst_postproc_get_property), (gst_postproc_register):
2266           expand tabs
2267
2268 === release 0.10.0 ===
2269
2270 2005-12-05   <thomas (at) apestaart (dot) org>
2271
2272         * configure.ac:
2273           releasing 0.10.0, "Rocamadour"
2274
2275 2005-12-05  Andy Wingo  <wingo@pobox.com>
2276
2277         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_get_buffer),
2278         (gst_ffmpegdec_frame):
2279         * ext/ffmpeg/gstffmpegdeinterlace.c: (gst_ffmpegdeinterlace_chain):
2280         * ext/ffmpeg/gstffmpegscale.c: (gst_ffmpegscale_chain): Update for
2281         alloc_buffer changes.
2282
2283 === release 0.9.7 ===
2284
2285 2005-12-01   <thomas (at) apestaart (dot) org>
2286
2287         * configure.ac:
2288           releasing 0.9.7, "Mein Hund Hat Keine Nase"
2289
2290 2005-11-28  Julien MOUTTE  <julien@moutte.net>
2291
2292         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_class_init),
2293         (gst_ffmpegenc_init), (gst_ffmpegenc_getcaps),
2294         (gst_ffmpegenc_setcaps), (gst_ffmpegenc_set_property),
2295         (gst_ffmpegenc_get_property): Add rtp-payload-size property.
2296
2297 2005-11-28  Tim-Philipp Müller  <tim at centricular dot net>
2298
2299         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_close),
2300         (gst_ffmpegdec_setcaps), (gst_ffmpegdec_add_pixel_aspect_ratio),
2301         (gst_ffmpegdec_negotiate):
2302           Improve pixel aspect ratio handling when both the demuxer and the
2303           decoder provide a pixel aspect ratio: if one of the two ratios is
2304           1:1, use the other one; if both are non-1:1, use the one provided
2305           by the decoder (fixes matroska starwars test files); also add some
2306           locking here and there.
2307
2308 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
2309
2310         * configure.ac: back to HEAD
2311
2312 === release 0.9.6 ===
2313
2314 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
2315
2316         * configure.ac:
2317           releasing 0.9.6, "Cold Cat"
2318
2319 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
2320
2321         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame):
2322         Updated API 
2323
2324 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
2325
2326         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_caps_to_pixfmt):
2327         Whoops - handle input video caps that don't have a framerate
2328
2329 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
2330
2331         * HACKING:
2332         * ext/ffmpeg/gstffmpegcolorspace.c:
2333           Remove mentions of ffmpegcolorspace now that it's in 
2334           gst-plugins-base
2335
2336         * ext/ffmpeg/Makefile.am:
2337           Link to gstreamer libraries
2338         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_caps_to_pixfmt):
2339         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_init),
2340         (gst_ffmpegdec_close), (gst_ffmpegdec_setcaps),
2341         (gst_ffmpegdec_negotiate), (gst_ffmpegdec_frame):
2342           Convert to fractional framerate
2343
2344 2005-11-22  Andy Wingo  <wingo@pobox.com>
2345
2346         * ext/ffmpeg/gstffmpegdec.c (gst_ffmpegdec_sink_event): Run
2347         update-funcnames.
2348
2349 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
2350
2351         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_sink_event):
2352           Remove GST_STREAM_LOCK here, it is not needed any longer.
2353
2354 2005-11-16  Luca Ognibene  <luogni@tin.it>
2355
2356         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_get_buffer):
2357           My previous commit was not completly correct.. I've disabled
2358         our _get_buffer function until we make it work 100%. I've opened a bug
2359         (#321662) for this issue.
2360
2361 2005-11-16  Luca Ognibene  <luogni@tin.it>
2362
2363         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_release_buffer),
2364         (gst_ffmpegdec_frame):
2365          Fix some segfaults while seeking. When i have unreffed 
2366          the buffer in _release_buffer i should also set picture->opaque to
2367          NULL otherwise sometimes it can be unreffed another time in
2368          _frame causing an invalid read/write.
2369
2370 2005-11-14  Andy Wingo  <wingo@pobox.com>
2371
2372         * configure.ac (GST_PLUGIN_LDFLAGS): -no-undefined for better
2373         debugging, allows dll builds on windows. Fixes #316076.
2374
2375 2005-11-14  Tim-Philipp Müller  <tim at centricular dot net>
2376
2377         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame),
2378         (gst_ffmpegdec_sink_event):
2379           Don't crash in debug message by dereferencing the NULL buffer
2380           gst_ffmpegdec_frame() gets passed on EOS. Take STREAM_LOCK for
2381           EOS, TAG, NEWSEGMENT and FLUSH_STOP events.
2382
2383 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
2384
2385         * configure.ac: back to HEAD
2386
2387 === release 0.9.5 ===
2388
2389 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
2390
2391         * configure.ac:
2392           releasing 0.9.5, "Sound Of Silence"
2393
2394 2005-11-11  Edward Hervey  <edward@fluendo.com>
2395
2396         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_get_buffer),
2397         (gst_ffmpegdec_release_buffer), (gst_ffmpegdec_frame),
2398         (gst_ffmpegdec_sink_event):
2399         Properly unref a buffer if we drop it.
2400         Esthetic fixes.
2401
2402 2005-11-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2403
2404         * TODO:
2405           Add some TODO items for 0.9 cycle.
2406
2407 2005-10-26  Tim-Philipp Müller  <tim at centricular dot net>
2408
2409         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_init),
2410         (gst_ffmpegdec_close), (gst_ffmpegdec_open),
2411         (gst_ffmpegdec_setcaps), (gst_ffmpegdec_negotiate),
2412         (gst_ffmpegdec_frame), (gst_ffmpegdec_sink_event),
2413         (gst_ffmpegdec_chain):
2414           Backported some fixes from 0.8. Most importantly, use
2415           demuxer's timestamping information if we use its framerate
2416           value. Makes divx play properly again among other things
2417           (#319616, #313970, #317596). Did not backport memory leak
2418           fix.
2419
2420 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
2421
2422         * configure.ac:
2423           back to HEAD
2424
2425 === release 0.9.4 ===
2426
2427 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
2428
2429         * configure.ac:
2430           releasing 0.9.4, "Triceratops"
2431
2432 2005-10-23  Julien MOUTTE  <julien@moutte.net>
2433
2434         * ext/ffmpeg/Makefile.am: Fix build.
2435         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
2436         (gst_ffmpeg_caps_to_codecid), (gst_ffmpeg_get_codecid_longname):
2437         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_register):
2438         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_register): Add QDM2
2439         and TrueMotion 2.
2440
2441 2005-10-11  Wim Taymans  <wim@fluendo.com>
2442
2443         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_sink_event):
2444         newsegment API update.
2445
2446 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
2447
2448         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps):
2449           we have better ways of debugging caps
2450         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_setcaps):
2451           ye gods.  get_template_caps doesn't return a ref, so when the
2452           pad was not linked, crashes would ensue.  Serves me right.
2453
2454 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
2455
2456         * configure.ac:
2457           back to development
2458
2459 === release 0.9.3 ===
2460
2461 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
2462
2463         * NEWS:
2464         * README:
2465         * configure.ac:
2466           Releasing 0.9.3, "D'Artagnan"
2467
2468 2005-09-30  Thomas Vander Stichele  <thomas at apestaart dot org>
2469
2470         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_setcaps):
2471           if no peer, use the src pad template caps as allowed
2472           caps
2473
2474 2005-09-22  Wim Taymans  <wim@fluendo.com>
2475
2476         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_setcaps):
2477         Do not limit quantizer values so we can get really low
2478         bitrates.
2479
2480 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
2481
2482         patch by: Wim Taymans
2483
2484         * gst-libs/ext/ffmpeg/libavcodec/h263.c:
2485         (h263_encode_picture_header), (mpeg4_encode_vol_header):
2486         * gst-libs/ext/ffmpeg/patches/h263.patch:
2487         * gst-libs/ext/ffmpeg/patches/series:
2488           fix frame rate encoding for h263
2489
2490 2005-09-20  Wim Taymans  <wim@fluendo.com>
2491
2492         * ext/ffmpeg/gstffmpegcodecmap.h:
2493         Avoid division by 0 errors.
2494
2495 2005-09-19  Wim Taymans  <wim@fluendo.com>
2496
2497         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_setcaps),
2498         (gst_ffmpegdec_frame):
2499         Don't blindly assume there is a codec.
2500
2501 2005-09-19  Wim Taymans  <wim@fluendo.com>
2502
2503         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_caps_to_pixfmt):
2504         Better framerate setting.
2505
2506 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2507
2508         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_sink_event):
2509           fix up newsegment
2510
2511 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
2512
2513         * ext/ffmpeg/gstffmpeg.c: (gst_ffmpeg_log_callback), (plugin_init):
2514         * ext/ffmpeg/gstffmpeg.h:
2515         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_getcaps):
2516           shut up the logging while it's probing for formats
2517
2518 2005-09-05  Andy Wingo  <wingo@pobox.com>
2519
2520         * Update for state change type and macro changes.
2521
2522 2005-08-19  Wim Taymans  <wim@fluendo.com>
2523
2524         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_setcaps),
2525         (gst_ffmpegenc_chain_video), (gst_ffmpegenc_change_state):
2526         Fix return values from the setcaps function.
2527
2528 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2529
2530         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame),
2531         (gst_ffmpegdec_sink_event), (gst_ffmpegdec_chain):
2532           Handle return values of gst_pad_push().
2533
2534 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2535
2536         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps):
2537           Forwardport from 0.8 to implement QT-RLE.
2538
2539 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2540
2541         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_sink_event):
2542           Flush buffers in flush-stop, not flush-start, since the task is not
2543           stopped yet in flush-stop, which may lead to odd crashes in random
2544           places inside libavcodec.
2545
2546 2005-08-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2547
2548         * ext/ffmpeg/gstffmpegcodecmap.c:
2549           Fix template to not allow fps=0.
2550
2551 2005-08-05  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2552
2553         * configure.ac:
2554         * ext/ffmpeg/Makefile.am:
2555         * ext/ffmpeg/gstffmpeg.c: (plugin_init):
2556         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_caps_with_codecid):
2557         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_class_init),
2558         (gst_ffmpegdec_init), (gst_ffmpegdec_query), (gst_ffmpegdec_event),
2559         (gst_ffmpegdec_open), (gst_ffmpegdec_setcaps),
2560         (gst_ffmpegdec_get_buffer), (gst_ffmpegdec_negotiate),
2561         (gst_ffmpegdec_frame), (gst_ffmpegdec_sink_event),
2562         (gst_ffmpegdec_chain), (gst_ffmpegdec_change_state),
2563         (gst_ffmpegdec_register):
2564         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_class_init),
2565         (gst_ffmpegenc_init), (gst_ffmpegenc_getcaps),
2566         (gst_ffmpegenc_setcaps), (gst_ffmpegenc_chain_video),
2567         (gst_ffmpegenc_chain_audio):
2568         * ext/libpostproc/Makefile.am:
2569           Backport BRANCH-THREADED to HEAD, fix a bit.
2570
2571 === release 0.8.6 ===
2572
2573 2005-08-05  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2574
2575         * NEWS:
2576         * RELEASE:
2577         * configure.ac:
2578           Release gst-ffmpeg 0.8.6 "Vamoz a la Playa".
2579
2580 2005-07-28  daniel fischer  <dan@f3c.com>
2581
2582         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2583
2584         * ext/ffmpeg/gstffmpegcodecmap.h:
2585           Actually initialize value (#311802).
2586
2587 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2588
2589         * ext/ffmpeg/gstffmpegcodecmap.h:
2590         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_connect),
2591         (gst_ffmpegdec_frame), (gst_ffmpegdec_chain):
2592         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_loop):
2593         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_link),
2594         (gst_ffmpegenc_chain_video):
2595         * ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_loop):
2596           Use special functions for timestamp-conversion again, since we
2597           otherwise don't handle clocktimenone correctly (#311593).
2598
2599 2005-07-24  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2600
2601         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_caps_to_codecid):
2602           Add x264 to muxer (it was added to template, but I forgot to add
2603           h264 caps recognition for some reason).
2604
2605 2005-07-22  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2606
2607         * ext/ffmpeg/gstffmpegcodecmap.c:
2608           Make type explicit.
2609         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_release_buffer),
2610         (gst_ffmpegdec_frame), (gst_ffmpegdec_chain),
2611         (gst_ffmpegdec_change_state):
2612           When we provide a buffer and get a valid return value (data was
2613           read), but no output (have-data==0), then we need to reuse this
2614           same output buffer, because it may be used for caching output
2615           data. Fixes #307353.
2616         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_loop):
2617           Timestamp fix.
2618
2619 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2620
2621         * ext/ffmpeg/gstffmpeg.h:
2622         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
2623         (gst_ffmpeg_caps_to_pixfmt), (gst_ffmpeg_formatid_get_codecids),
2624         (gst_ffmpeg_caps_to_codecid), (gst_ffmpeg_get_codecid_longname),
2625         (gst_ffmpeg_img_convert):
2626         * ext/ffmpeg/gstffmpegcodecmap.h:
2627         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_negotiate),
2628         (gst_ffmpegdec_frame), (gst_ffmpegdec_chain),
2629         (gst_ffmpegdec_register):
2630         * ext/ffmpeg/gstffmpegdeinterlace.c:
2631         (gst_ffmpegdeinterlace_getcaps), (gst_ffmpegdeinterlace_pad_link):
2632         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_src_event),
2633         (gst_ffmpegdemux_src_format_list), (gst_ffmpegdemux_src_query),
2634         (gst_ffmpegdemux_src_convert), (gst_ffmpegdemux_add),
2635         (gst_ffmpegdemux_register):
2636         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_getcaps),
2637         (gst_ffmpegenc_link), (gst_ffmpegenc_chain_video),
2638         (gst_ffmpegenc_chain_audio):
2639         * ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_request_new_pad),
2640         (gst_ffmpegmux_connect), (gst_ffmpegmux_loop),
2641         (gst_ffmpegmux_register):
2642         * ext/ffmpeg/gstffmpegprotocol.c: (gst_ffmpegdata_write):
2643         * ext/ffmpeg/gstffmpegscale.c: (gst_ffmpegscale_pad_link):
2644         * ext/libpostproc/gstpostproc.c: (gst_postproc_chain):
2645           Update to ffmpeg snapshot of Jul 20 2005 4:00 PM GMT. Mostly
2646           some added codecs, some API changes, etc. Also adds a VOB muxer
2647           for MPEG-2 video and adds h264 to .mp4 muxing.
2648
2649 2005-07-16  daniel fischer  <dan@f3c.com>
2650
2651         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2652
2653         * ext/ffmpeg/gstffmpegprotocol.c: (gst_ffmpegdata_open):
2654           Strip off private flags from context value (#310054).
2655
2656 2005-07-11  Luca Ognibene  <luogni@tin.it>
2657
2658         * ext/ffmpeg/gstffmpegdec.c (struct _GstFFMpegDec) 
2659         (gst_ffmpegdec_open, gst_ffmpegdec_negotiate): 
2660           Cache the pixel format value and renegotiate the pipeline
2661           if this value changes. Fixes segfault when decoding a
2662           stream with different colorspaces like a sequence of jpeg.
2663
2664 2005-07-11  daniel fischer  <dan@f3c.com>
2665
2666         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2667
2668         * ext/ffmpeg/gstffmpeg.h:
2669         * ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_loop):
2670         * ext/ffmpeg/gstffmpegprotocol.c: (gst_ffmpegdata_open),
2671         (gst_ffmpegdata_write):
2672           Add a stream-header flag to set stream-header caps on some streams,
2673           such as (in this case) flv (fixes #309051).
2674
2675 2005-06-27  Luca Ognibene  <luogni@tin.it>
2676
2677         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_loop):
2678         timestamp is a GstClockTime, not a double..
2679         fix #309149 and maybe others bug
2680
2681 2005-06-27  Daniel Fischer  <dan@f3c.com>
2682
2683         reviewed by: Luca Ognibene <luogni@tin.it>
2684
2685         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_loop):
2686         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_chain_video):
2687         more DELTA_UNIT / KEY_UNIT fixes
2688
2689 2005-06-27  Daniel Fischer  <dan@f3c.com>
2690
2691         reviewed by: Luca Ognibene <luogni@tin.it>
2692
2693         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_formatid_to_caps),
2694         (gst_ffmpeg_formatid_get_codecids), (gst_ffmpeg_caps_to_codecid):
2695         add flv encoder
2696         
2697         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame):
2698         set both DELTA_UNIT and KEY_UNIT
2699         
2700         * ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_loop):
2701         use DELTA_UNIT and not the deprecated KEY_UNIT
2702
2703 2005-06-25  Luca Ognibene  <luogni@tin.it>
2704
2705         * ext/libpostproc/gstpostproc.c: (gst_ffmpeg_log_callback),
2706         (plugin_init):
2707         * ext/libpostproc/gstpostproc.h:
2708         fix debug output
2709
2710 2005-06-25  Sebastien Cote <sc5@hermes.usherb.ca>
2711
2712         Reviewed by: Luca Ognibene <luogni@tin.it>
2713         
2714         * ext/ffmpeg/gstffmpegenc.c (gst_ffmpegenc_chain_video): 
2715         set the GST_BUFFER_DELTA_UNIT while encoding
2716         fix #308804
2717
2718 2005-06-20  Edward Hervey  <edward@fluendo.com>
2719
2720         * ext/libpostproc/gstpostproc.c: (gst_postproc_register):
2721         It works better when filing the hash_table BEFORE registering the element.
2722         
2723 2005-06-20  Edward Hervey  <edward@fluendo.com>
2724
2725         * ext/Makefile.am: (SUBDIRS):
2726         * ext/libpostproc:
2727         * ext/libpostproc/Makefile.am:
2728         * ext/libpostproc/gstpostproc.c:
2729         * ext/libpostproc/gstpostproc.h:
2730         ffmpeg's libpostproc wrapper plugins
2731
2732         * configure.ac: 
2733         added --enable-pp to ffmpeg configure arguments
2734
2735 2005-06-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2736
2737         * configure.ac:
2738           Dev mode.
2739
2740 === release 0.8.5 ===
2741
2742 2005-06-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2743
2744         * NEWS:
2745         * RELEASE:
2746         * TODO:
2747         * configure.ac:
2748           Release 0.8.5 "For the better of the world".
2749         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_caps_with_codecid):
2750           Stay backwards compatible a short while longer (SVQ3).
2751
2752 2005-06-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2753
2754         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame):
2755           Only do timestamp interpolation for delayed streams (containing
2756           B-frames). Fixes stuttering playback of ASF files (#306770).
2757
2758 2005-06-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2759
2760         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
2761         (gst_ffmpeg_caps_with_codecid):
2762           Remove weird flags from SVQ3 flags and just give full atom,
2763           like other files; fixes frame order problems (#306530).
2764
2765 2005-06-08  Luca Ognibene  <luogni@tin.it>
2766
2767         * ext/ffmpeg/gstffmpegdec.c (gst_ffmpegdec_change_state): 
2768           First close the ffmpeg context than try to free last_buffer.
2769           fix #306893
2770
2771 2005-06-03  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2772
2773         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_open),
2774         (gst_ffmpegdec_handle_event), (gst_ffmpegdec_register):
2775           Disable parsing on h264 for now, seems to break avc decoding.
2776
2777 2005-06-03  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2778
2779         * configure.ac:
2780           scale requires -libs (video.h).
2781         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_getcaps):
2782           Don't crash if open failed.
2783
2784 2005-05-24  Luca Ognibene  <luogni@tin.it>
2785
2786         * ext/ffmpeg/gstffmpegdeinterlace.c (gst_ffmpegdeinterlace_chain): 
2787           Always stamp your buffers ! (ooops)
2788
2789 2005-05-24  Edward Hervey  <bilboed@bilboed.com>
2790
2791         * ext/ffmpeg/gstffmpegscale.c: (gst_ffmpegscale_chain):
2792         Always stamp your buffers !
2793
2794 2005-05-17  Luca Ognibene  <luogni@tin.it>
2795
2796         * ext/ffmpeg/gstffmpegcodecmap.c (gst_ffmpeg_pixfmt_to_caps): 
2797           Add YUV444P format as Y444
2798
2799 2005-05-15  Luca Ognibene  <luogni@tin.it>
2800
2801         * ext/ffmpeg/Makefile.am: 
2802         * ext/ffmpeg/gstffmpegdeinterlace.c: 
2803         * ext/ffmpeg/gstffmpeg.c (plugin_init): 
2804           Add ffdeinterlace element
2805         * TODO: 
2806           yo, another thing removed from the TODO
2807
2808 2005-05-14  Luca Ognibene  <luogni@tin.it>
2809
2810         * ext/ffmpeg/gstffmpegscale.c (gst_ffmpegscale_change_state): 
2811           Don't segfault if using passthrough
2812
2813 2005-05-13  Luca Ognibene  <luogni@tin.it>
2814
2815         * ext/ffmpeg/gstffmpeg.c (plugin_init): 
2816         * ext/ffmpeg/Makefile.am: 
2817         * ext/ffmpeg/gstffmpegscale.c: 
2818           Add ffvideoscale element (#303727)
2819
2820         * TODO: 
2821           update TODO   
2822
2823         * ext/ffmpeg/gstffmpegcodecmap.c (gst_ffmpeg_pixfmt_to_caps): 
2824           Add support for GRAY8 colorspace
2825
2826 2005-05-11  Luca Ognibene  <luogni@tin.it>
2827
2828         * ext/ffmpeg/gstffmpegenc.c (gst_ffmpegenc_chain_video): 
2829         * ext/ffmpeg/gstffmpegdec.c (gst_ffmpegdec_chain): 
2830           Makes ffmpegdec and ffmpegenc use these functions
2831           and remove a comment from a previuos patch
2832
2833         * ext/ffmpeg/gstffmpegcodecmap.h: 
2834           Add two utility functions to convert the pts from/to
2835           the ffmpeg format
2836
2837 2005-05-06  Luca Ognibene  <luogni@tin.it>
2838
2839         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2840
2841         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_init),
2842         (gst_ffmpegdec_open), (gst_ffmpegdec_connect),
2843         (gst_ffmpegdec_get_buffer), (gst_ffmpegdec_release_buffer),
2844         (gst_ffmpegdec_frame), (gst_ffmpegdec_change_state):
2845           Re-re-enable get_/release_buffer functions, removes a few more
2846           percent of our CPU usage (#301783).
2847
2848 2005-05-02  Luca Ognibene  <luogni@tin.it>
2849
2850         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2851
2852         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_pixfmt_to_caps):
2853           Add JPEG-formatted YUV enums.
2854
2855 2005-05-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2856
2857         * ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_class_init),
2858         (gst_ffmpegmux_finalize), (gst_ffmpegmux_loop),
2859         (gst_ffmpegmux_change_state):
2860           Fix possible segfaults (#302017).
2861
2862 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2863
2864         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_handle_event):
2865           Use CODEC_CAP_DELAY and remove max-10-delayed-frames hack.
2866
2867 2005-04-23  Luca Ognibene  <luogni@tin.it>
2868
2869         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2870
2871         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_getcaps):
2872           Don't crash if avcodec_open failed (#301717).
2873
2874 2005-04-21  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2875
2876         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):
2877           Re-disable mov typefinding which breaks mov playback.
2878
2879 2005-04-21  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2880
2881         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
2882         (gst_ffmpeg_caps_with_codecid), (gst_ffmpeg_caps_to_codecid),
2883         (gst_ffmpeg_get_codecid_longname):
2884           Add ALAC, shorten and some more in new FFMPEG snapshot of
2885           21/4, somewhere this afternoon.
2886         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_register):
2887         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_register):
2888           Add warnings to decoder registration to easier add new ones
2889           during snapshot updates.
2890
2891 2005-04-21  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2892
2893         * ext/ffmpeg/gstffmpegcodecmap.c:
2894         (gst_ffmpeg_formatid_get_codecids):
2895           Enable MPEG muxer.
2896
2897 2005-04-18  Luca Ognibene  <luogni@tin.it>
2898
2899         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2900
2901         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame):
2902           Next try at using pad_alloc_buffer (#300923).
2903
2904 2005-04-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2905
2906         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame):
2907           Revert previous, we cannot call pad_alloc_buffer() before being
2908           negotiated.
2909
2910 2005-04-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2911
2912         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame):
2913           Use gst_pad_alloc_buffer().
2914
2915 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2916
2917         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_handle_event):
2918           Safety bet to not completely crush the system on EOS. Fixes the
2919           bad behaviour of #300200 (doesn't fix the actual issue).
2920
2921 2005-04-02  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2922
2923         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_open),
2924         (gst_ffmpegdec_handle_event):
2925           Fix breakage of testsuite by adding keyframe syncing; changed
2926           to sync only for some streamtypes (MPEG-2/-4, for now).
2927         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_add):
2928           Add tags.
2929
2930 2005-04-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2931
2932         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_init),
2933         (gst_ffmpegdec_open), (gst_ffmpegdec_frame),
2934         (gst_ffmpegdec_handle_event):
2935           Implement keyframe syncing.
2936
2937 2005-03-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2938
2939         * ext/ffmpeg/gstffmpeg.c: (plugin_init):
2940           Enable muxers (only mp4 muxer for now).
2941         * ext/ffmpeg/gstffmpegcodecmap.c:
2942         (gst_ffmpeg_formatid_get_codecids), (gst_ffmpeg_caps_to_codecid):
2943         * ext/ffmpeg/gstffmpegcodecmap.h:
2944           Fix a bunch of typos in codec-id lookup (false/true return value
2945           mixup), add a codec-id list retrieval function (because ffmpeg
2946           does not provide one). With that, we can make valid pad templates.
2947         * ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_init),
2948         (gst_ffmpegmux_connect), (gst_ffmpegmux_loop),
2949         (gst_ffmpegmux_change_state), (gst_ffmpegmux_get_id_caps),
2950         (gst_ffmpegmux_register):
2951           Fix for whatever changed since I last tried this. Works for MP4
2952           muxing.
2953         * ext/ffmpeg/gstffmpegprotocol.c: (gst_ffmpegdata_open),
2954         (gst_ffmpegdata_peek), (gst_ffmpegdata_write),
2955         (gst_ffmpegdata_seek), (gst_ffmpegdata_close):
2956           Update obviously-untested write code...
2957
2958 2005-03-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2959
2960         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_chain_video):
2961           Fix crash on randomly sized input (#169082).
2962
2963 2005-03-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2964
2965         * configure.ac:
2966           Dev.
2967
2968 === release 0.8.4 ===
2969
2970 2005-03-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2971
2972         * NEWS:
2973         * RELEASE:
2974         * configure.ac:
2975           Release 0.8.4 "Mellow on my fingers".
2976
2977 2005-03-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2978
2979         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps):
2980           Add MPEG-4 audio for debugging.
2981
2982 2005-02-05  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2983
2984         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_link):
2985           Only free context if it was created (otherwise it crashes).
2986
2987 2005-02-04  Jan Schmidt  <thaytan@mad.scientist.com>
2988
2989         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame),
2990         (gst_ffmpegdec_chain), (gst_ffmpegdec_register):
2991           Reduce the rank of the mpeg2 decoder back below mpeg2dec
2992           Use the parser to reorder pts times. Fixes mpeg playback
2993           without changing any other files I tested.
2994           Use the repeat_pict flag to correctly set durations
2995
2996 2005-02-02  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
2997
2998         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
2999         (gst_ffmpeg_caps_to_codecid):
3000           Change caps of MJPEGB to not interfere with MJPEG/JPEG.
3001         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_register):
3002           Remove rank for SP5X, no clue what that is...
3003
3004 2005-02-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3005
3006         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame):
3007           Don´t SIGFPE right away.
3008
3009 2005-01-31  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3010
3011         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_lowres_get_type),
3012         (gst_ffmpegdec_skipframe_get_type), (gst_ffmpegdec_class_init),
3013         (gst_ffmpegdec_init), (gst_ffmpegdec_connect),
3014         (gst_ffmpegdec_frame), (gst_ffmpegdec_set_property),
3015         (gst_ffmpegdec_get_property):
3016           Implement B-frame skipping and low-resolution decoding (useful
3017           for very slow CPUs).
3018
3019 2005-01-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3020
3021         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_register):
3022         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_register):
3023           Oops, unbreak audio.
3024
3025 2005-01-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3026
3027         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
3028         (gst_ffmpeg_caps_to_codecid):
3029           Add AMR mimetypes (since those are recognized in ffmpeg).
3030         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame),
3031         (gst_ffmpegdec_register):
3032         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):
3033         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_register):
3034           Register law codecs too, add time debug. Use ANY for template caps
3035           since we don't necessarily have available decoders for recognized
3036           formats.
3037
3038 2005-01-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3039
3040         * ext/ffmpeg/gstffmpeg.c: (plugin_init):
3041           Fix compile with debug disabled (#165250).
3042
3043 2005-01-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3044
3045         * ext/ffmpeg/gstffmpegprotocol.c: (gst_ffmpegdata_peek):
3046           Yet Another Logic Error.
3047
3048 2005-01-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3049
3050         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_negotiate):
3051           <insert rant about why gcc should support parsing errors>.
3052
3053 2005-01-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3054
3055         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
3056         (gst_ffmpeg_pixfmt_to_caps), (gst_ffmpeg_caps_to_pixfmt):
3057           Add extradata to huffyuv, sync RGBA32 up with gst-plugins.
3058         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_query),
3059         (gst_ffmpegdec_event):
3060           Make somewhat clearer.
3061
3062 2005-01-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3063
3064         * TODO:
3065           Update since some tasks are done.
3066         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_formatid_to_caps):
3067         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_type_find):
3068           Add correct mimetype for FLI video, restore correct typefind
3069           priority.
3070
3071 2005-01-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3072
3073         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_connect),
3074         (gst_ffmpegdec_frame), (gst_ffmpegdec_handle_event),
3075         (gst_ffmpegdec_chain):
3076           More debug, re-fix MPEG-2 (yes, I broke it already!).
3077
3078 2005-01-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3079
3080         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_handle_event),
3081         (gst_ffmpegdec_chain):
3082           Another fix for MPEG-4 movies...
3083
3084 2005-01-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3085
3086         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_open),
3087         (gst_ffmpegdec_connect), (gst_ffmpegdec_negotiate),
3088         (gst_ffmpegdec_frame), (gst_ffmpegdec_handle_event):
3089           Add some more debug, fix for B-frame containing XviD movies.
3090
3091 2005-01-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3092
3093         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_handle_event):
3094           Only flush when the codec is opened.
3095
3096 2005-01-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3097
3098         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
3099         (gst_ffmpeg_caps_to_codecid), (gst_ffmpeg_get_codecid_longname):
3100         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_register):
3101           Re-add H263I as intel-h263 (which is not h263-compliant...).
3102           Increase rank of mpeg2video since it plays more videos than
3103           its gst-plugins counterpart, with no regressions.
3104
3105 2005-01-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3106
3107         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame):
3108           Don't unref NULL data...
3109
3110 2005-01-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3111
3112         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_init),
3113         (gst_ffmpegdec_open), (gst_ffmpegdec_frame),
3114         (gst_ffmpegdec_handle_event), (gst_ffmpegdec_chain):
3115           Add B-frame timestamp smoothing.
3116
3117 2005-01-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3118
3119         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame),
3120         (gst_ffmpegdec_chain):
3121           Separate buffer handling from actual decoding, handle pending
3122           frames (for B-frames and so on) so we catch the last frames
3123           before EOS, prepare for some timestamp changes to make playback
3124           of movies with B-frames smoother (not done yet).
3125
3126 2005-01-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3127
3128
3129         (gst_ffmpegdec_negotiate), (gst_ffmpegdec_chain):
3130         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_init),
3131         (gst_ffmpegdemux_close), (gst_ffmpegdemux_src_query),
3132         (gst_ffmpegdemux_loop):
3133           Add simple query functions. Seeking is only cosmetic, it's not
3134           actually filled in yet (in ffmpegdec).
3135
3136 2005-01-17  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3137
3138         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_init),
3139         (gst_ffmpegenc_link), (gst_ffmpegenc_chain_video):
3140           Remove EMU_EDGE, since that really fixes #162905. Revert
3141           previous hacks.
3142
3143 2005-01-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3144
3145         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_chain_video):
3146           Unref after encode (#162905).
3147
3148 2005-01-16  Luca Ognibene  <luogni@tin.it>
3149
3150         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3151
3152         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_link),
3153         (gst_ffmpegenc_chain_video):
3154           Workaround memory issues (#162905).
3155
3156 2005-01-10  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3157
3158         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_type_find):
3159           Decrease certainty a bit so we use flxdec for .flx videos.
3160
3161 2005-01-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3162
3163         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_dispose):
3164           Call parent.
3165
3166 2005-01-09  Luca Ognibene  <luogni@tin.it>
3167
3168         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3169
3170         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain):
3171           Disable parsing for MJPEG input since that's already cut at
3172           frame-boundaries. Fixes #163340.
3173
3174 2005-01-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3175
3176         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
3177         (gst_ffmpeg_caps_to_codecid):
3178           Set property incompatible with DV demuxer so that it won't
3179           infinitely plug demuxers to each other. Fixes playback of .dv
3180           streams in Totem.
3181
3182 2004-12-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3183
3184         * configure.ac:
3185           Dev.
3186
3187 === release 0.8.3 === 
3188
3189 2004-12-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3190
3191         * NEWS:
3192         * RELEASE:
3193         * configure.ac:
3194           Release 0.8.3 "Tiny Piece of Plastic".
3195
3196 2004-12-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3197
3198         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):
3199           Don't cripple rank as a hack to not register typefind functions.
3200           Instead, just use a boolean for that. This makes ID3-tagged MP3
3201           files play even if mad is not installed.
3202
3203 2004-12-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3204
3205         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_register):
3206           Remove rank from ffdec_h263i until I know how it's different
3207           from ffdec_h263. Fixes #155163.
3208
3209 2004-12-18  David Schleef  <ds@schleef.org>
3210
3211         * autogen.sh: execute ffmpeg's autogen.sh directly
3212         * gst-libs/ext/ffmpeg/autogen.sh: Add a #! line.  Specify bash,
3213         since there are bashisms ('local').
3214
3215 2004-12-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3216
3217         * ext/ffmpeg/gstffmpegprotocol.c: (gst_ffmpegdata_open),
3218         (gst_ffmpegdata_peek), (gst_ffmpegdata_read),
3219         (gst_ffmpegdata_write), (gst_ffmpegdata_seek),
3220         (gst_ffmpegdata_close):
3221           Add debug. Don't EOS unless all data was read.
3222
3223 2004-12-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3224
3225         * ext/ffmpeg/gstffmpegprotocol.c: (gst_ffmpegdata_peek),
3226         (gst_ffmpegdata_read), (gst_ffmpegdata_seek):
3227           Some "seeking" hacks, and separate peek from read (read = peek +
3228           flush) so seek can use peek as well to workaround typefind. With
3229           this, I'm able to play several of the gaming format movies in
3230           Totem.
3231
3232 2004-12-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3233
3234         * ext/ffmpeg/Makefile.am:
3235         * ext/ffmpeg/gstffmpeg.h:
3236           Add header.
3237
3238 2004-12-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3239
3240         * ext/ffmpeg/gstffmpeg.c:
3241         * ext/ffmpeg/gstffmpegcodecmap.c:
3242         * ext/ffmpeg/gstffmpegcodecmap.h:
3243         * ext/ffmpeg/gstffmpegcolorspace.c:
3244         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain):
3245         * ext/ffmpeg/gstffmpegdemux.c:
3246         * ext/ffmpeg/gstffmpegenc.c:
3247         * ext/ffmpeg/gstffmpegmux.c:
3248         * ext/ffmpeg/gstffmpegprotocol.c:
3249           Add debugging category everywhere (correctly this time). Don't
3250           parse mp3 data (the parser is a piece of crap). Fixes #155274
3251           mostly. Seeking pending.
3252
3253 2004-12-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3254
3255         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_formatid_to_caps):
3256           Add ID3 mime. Should partially fix #155274 (although raw mp3
3257           sounds awful, it doesn't parse correctly in the decoder-only
3258           case).
3259
3260 2004-12-17  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3261
3262         * ext/ffmpeg/gstffmpegcodecmap.c:
3263         (gst_ffmpeg_get_codecid_longname):
3264           Fix typo.
3265
3266 2004-12-17  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3267
3268         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain):
3269           Small parsing fix in comb. with ffdemux_mpeg.
3270
3271 2004-12-17  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3272
3273         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_init),
3274         (gst_ffmpegdec_close), (gst_ffmpegdec_open), (gst_ffmpegdec_chain):
3275           Include optional parser if supported (currently only MPEG-1/-2
3276           video). This fixes playback of MPEG-1/-2 videos using
3277           ffdec_mpeg2video.
3278
3279 2004-12-17  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3280
3281         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_base_init),
3282         (gst_ffmpegenc_init), (gst_ffmpegenc_getcaps),
3283         (gst_ffmpegenc_link):
3284           Move setup of sink caps (accepted formats) to a separate function
3285           rather than doing it on initialization.
3286
3287 2004-12-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3288
3289         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
3290         (gst_ffmpeg_caps_to_codecid), (gst_ffmpeg_get_codecid_longname),
3291         (gst_ffmpeg_avpicture_fill):
3292           Add new codecIDs from new snapshot (Thu Dec 16 11:27:18 2004).
3293         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_src_event),
3294         (gst_ffmpegdemux_type_find), (gst_ffmpegdemux_loop):
3295         * ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_loop):
3296           API updates.
3297         * ext/ffmpeg/gstffmpegprotocol.c: (gst_ffmpegdata_read),
3298         (gst_ffmpegdata_seek):
3299           A slightly smarter approach, but it still needs lost of work to
3300           be reliable in any way...
3301
3302 2004-12-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3303
3304         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_init),
3305         (gst_ffmpegdec_close), (gst_ffmpegdec_connect),
3306         (gst_ffmpegdec_negotiate), (gst_ffmpegdec_chain):
3307           Move negotiation outside the _chain function, and use the
3308           codec PAR if available and prefer it over demuxer PAR (since
3309           this is usually the right thing to do). Fixes #159755.
3310
3311 2004-12-16  Sebastien Cote  <sc5@hermes.usherb.ca>
3312
3313         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3314
3315         * ext/ffmpeg/gstffmpegcolorspace.c: (gst_ffmpegcsp_pad_link):
3316           Fix memleak (#154815).
3317
3318 2004-12-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3319
3320         * ext/ffmpeg/gstffmpegcolorspace.c: (gst_ffmpegcsp_pad_link),
3321         (gst_ffmpegcsp_init), (gst_ffmpegcsp_chain),
3322         (gst_ffmpegcsp_change_state):
3323           Some sync with ffmpegcolorspace (flatten AVFrame).
3324
3325 2004-11-05  Wim Taymans  <wim@fluendo.com>
3326
3327         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_avpicture_get_size),
3328         (gst_ffmpeg_avpicture_fill), (gst_ffmpeg_img_convert):
3329         * ext/ffmpeg/gstffmpegcodecmap.h:
3330         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain):
3331         Fix strides and plane sizes when dealing with odd sized
3332         movies.
3333
3334 2004-10-29  Sebastien Cote  <sc5@hermes.usherb.ca>
3335
3336         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3337
3338         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain):
3339           Prevent division by zero (#155212).
3340
3341 2004-10-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3342
3343         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_avpicture_fill):
3344         * ext/ffmpeg/gstffmpegcodecmap.h:
3345         * ext/ffmpeg/gstffmpegcolorspace.c: (gst_ffmpegcsp_chain):
3346         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_get_buffer),
3347         (gst_ffmpegdec_chain):
3348         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_chain_video):
3349           Sync with gst-plugins ffmpegcolorspace, align-by-4. Ready to
3350           re-sync gst-plugins ffmpegcolorspace with ours and deprecate
3351           this one.
3352
3353 2004-10-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3354
3355         * ext/ffmpeg/gstffmpegcolorspace.c: (gst_ffmpegcsp_pad_link):
3356           Backport changes from ffmpegcolorspace (gst-plugins) so we can
3357           then move the whole of this plugin back and deprecate this (no,
3358           I'm not insane).
3359
3360 2004-10-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3361
3362         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
3363         (gst_ffmpeg_codectype_to_caps), (gst_ffmpeg_caps_with_codecid):
3364         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_base_init),
3365         (gst_ffmpegenc_connect), (gst_ffmpegenc_register):
3366           Fix encoders. Fix if encoder supports >1 caps.
3367
3368 2004-10-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3369
3370         * ext/ffmpeg/gstffmpegcodecmap.c:
3371         (gst_ffmpeg_get_codecid_longname):
3372         * ext/ffmpeg/gstffmpegcodecmap.h:
3373         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_base_init),
3374         (gst_ffmpegdec_register):
3375         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_base_init),
3376         (gst_ffmpegenc_register):
3377           Hmm, fancy names...
3378
3379 2004-10-20  Thomas Vander Stichele  <thomas at apestaart dot org>
3380
3381         * configure.ac: up req of GStreamer since we use fractions
3382
3383 2004-10-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3384
3385         * gst-ffmpeg.spec.in:
3386           Remove unused 'versioning' variable.
3387
3388 2004-10-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3389
3390         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_init),
3391         (gst_ffmpegenc_chain_video):
3392           Set chain function before adding pad, fix memleak on error, error
3393           out on encode errors because none of subsequent frames will work
3394           any better (this is not input dependent).
3395
3396 2004-10-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3397
3398         * configure.ac:
3399           CVS.
3400
3401 === release 0.8.2 ===
3402
3403 2004-10-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3404
3405         * NEWS:
3406         * RELEASE:
3407         * configure.ac:
3408           Release 0.8.2.
3409
3410 2004-10-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3411
3412         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain):
3413           Unref when not usable.
3414
3415 2004-10-04  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3416
3417         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
3418         (gst_ffmpeg_caps_with_codecid):
3419           Negotiation fixes for real video codecs.
3420
3421 2004-10-02  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3422
3423         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_loop):
3424           Fix timestamps. Quite some of the gaming formats work now. :).
3425
3426 2004-10-02  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3427
3428         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
3429         (gst_ffmpeg_caps_with_codecid), (gst_ffmpeg_caps_to_codecid):
3430           Generalized palette functions, add actual mimetypes for wing
3431           commander formats.
3432         * ext/ffmpeg/gstffmpegcolorspace.c: (gst_ffmpegcsp_chain):
3433           Ffmpeg has internal palette functions, so I noticed.
3434         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain):
3435           Actually remove all palette code.
3436
3437 2004-10-02  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3438
3439         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_loop):
3440           Signal no_more_pads.
3441         * ext/ffmpeg/gstffmpegprotocol.c: (gst_ffmpegdata_read),
3442         (gst_ffmpegdata_seek):
3443           Handle events.
3444
3445 2004-10-02  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3446
3447         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_pixfmt_to_caps),
3448         (gst_ffmpeg_caps_to_pixfmt):
3449         * ext/ffmpeg/gstffmpegcolorspace.c: (gst_ffmpegcsp_pad_link),
3450         (gst_ffmpegcsp_init), (gst_ffmpegcsp_chain),
3451         (gst_ffmpegcsp_change_state), (gst_ffmpegcsp_register):
3452         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain):
3453           Move palette handling over from the decoder to the colorspace
3454           conversion plugin (where you would expect it).
3455
3456 2004-10-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3457
3458         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
3459         (gst_ffmpeg_caps_with_codecid), (gst_ffmpeg_caps_to_codecid):
3460           Simplify codec_data handling.
3461
3462 2004-09-23  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3463
3464         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain):
3465           Update timestamp for every new buffer that we output. Improves
3466           audio playback for several files that have multiple audio chunks
3467           per buffer.
3468
3469 2004-09-22  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3470
3471         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_register):
3472           msmpeg4v3 should be priority as well, else it will choose divxdec
3473           first (which we don't want).
3474
3475 2004-09-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3476
3477         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
3478         (gst_ffmpeg_caps_with_codecid):
3479           WMV extradata (make #152798 work). J-frames are only available
3480           in the bitstream if the J-frame bit has been set in the extradata.
3481           If not (or if extradata is not provided), the movie won't play.
3482         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_close),
3483         (gst_ffmpegdec_connect), (gst_ffmpegdec_chain):
3484           Only close ffmpeg if privdata was allocated (else it segfaults).
3485           Autodetect encoding bugs and workaround it. Don't copy data if
3486           decoding failed.
3487         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_loop):
3488           Use read_frame() instead of read_packet() which is obsolete.
3489
3490 2004-09-16 Iain <iaingnome@gmail.com>
3491
3492         * ext/ffmpeg/gstffmpegmux.c (gst_ffmpegmux_register): Free name fix 
3493         leak.
3494
3495 2004-07-21  Thomas Vander Stichele  <thomas at apestaart dot org>
3496
3497         * ext/ffmpeg/gstffmpegcolorspace.c: (gst_ffmpegcsp_chain):
3498           no point in doing any chaining if the pad we want to push from
3499           isn't usable.
3500
3501
3502 2004-07-21  Thomas Vander Stichele  <thomas at apestaart dot org>
3503
3504         * configure.ac: bump nano
3505
3506 === gst-ffmpeg 0.8.1 ===
3507
3508 2004-07-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3509
3510         * configure.ac: release 0.8.1, "Just Another Victim"
3511
3512 2004-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
3513
3514         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_base_init):
3515         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_base_init):
3516           d'oh, put them back
3517
3518 2004-07-07  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
3519
3520         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain):
3521           drop incoming buffers that generate decoding errors
3522
3523 2004-07-07  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
3524
3525         * ext/ffmpeg/gstffmpeg.c: (gst_ffmpeg_log_callback), (plugin_init):
3526         * ext/ffmpeg/gstffmpegcodecmap.h:
3527         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain):
3528           hook up our debug handler to FFmpeg's.
3529           warn about getting negative have_data
3530
3531 2004-07-04  Thomas Vander Stichele  <thomas at apestaart dot org>
3532
3533         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_base_init):
3534         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_base_init):
3535           bring category order in line with others
3536
3537 2004-06-13  Ronald Bultje  <rbultje@ronald.bitfreak.net>
3538
3539         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
3540         (gst_ffmpeg_caps_to_codecid):
3541         * ext/ffmpeg/gstffmpegprotocol.c: (gst_ffmpegdata_read):
3542           Do some more random property setting. Fix for if there's less than
3543           ffmpeg-default-buffersize (32kB) data in a file _and_ there's an
3544           event pending. Partially fixes #142320.
3545
3546 2004-06-06  Ronald Bultje  <rbultje@ronald.bitfreak.net>
3547
3548         * ext/ffmpeg/gstffmpeg.c: (plugin_init):
3549           Remove redundant calls which are called internally already.
3550         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_caps_with_codecid):
3551           Indenting...
3552         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_loop),
3553         (gst_ffmpegdemux_register):
3554           Remove typefind functions and rank for demuxers for any demuxer
3555           that we already have in GStreamer.
3556
3557 2004-05-18  Benjamin Otte  <in7y118@public.uni-hamburg.de>
3558
3559         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_caps_with_codecid):
3560           don't operate on undefined variables (fixes #135145)
3561
3562 2004-05-16  Benjamin Otte  <otte@gnome.org>
3563
3564         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain):
3565           Hi, I'm a memleak
3566
3567 2004-05-14  Ronald Bultje  <rbultje@ronald.bitfreak.net>
3568
3569         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_src_event),
3570         (gst_ffmpegdemux_src_query), (gst_ffmpegdemux_src_convert),
3571         (gst_ffmpegdemux_open), (gst_ffmpegdemux_loop):
3572         * ext/ffmpeg/gstffmpegprotocol.c: (gst_ffmpegdata_open),
3573         (gst_ffmpegdata_read), (gst_ffmpegdata_write),
3574         (gst_ffmpegdata_seek):
3575           Fix up demuxer. Works now for all my files that I tried, even
3576           quicktime. I basically hack around the super-oversimplistic file
3577           I/O handling in ffmpeg in several ways together, and I also hack
3578           around the fairly annoying EOS-will-pause-the-source-element in
3579           GStreamer itself.
3580           This code is not pretty.
3581
3582 2004-05-11  Jeremy Simon  <jesimon@libertysurf.fr>
3583
3584         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
3585         (gst_ffmpeg_caps_with_codecid):
3586          block_align and bitrate caps property were lost for wma
3587          use codec_data instead of flag1 and flag2
3588
3589 2004-05-11  Benjamin Otte  <in7y118@public.uni-hamburg.de>
3590
3591         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_formatid_to_caps):
3592           it's audio/x-wav, not video/x-wav
3593
3594 2004-05-10  Stephane Loeuillet <stephane.loeuillet@tiscali.fr>
3595
3596         * ext/ffmpeg/gstffmpegdec.c
3597         * ext/ffmpeg/gstffmpegenc.c
3598                 change plugins category to meet our new standard :
3599                         Codec/Encoder|Decoder/Audio|Video
3600                 suggested by bilboed, approved by Company
3601
3602 2004-05-04  Thomas Vander Stichele  <thomas at apestaart dot org>
3603
3604         * gst-libs/ext/ffmpeg/autogen.sh:
3605         * gst-libs/ext/ffmpeg/patches/autotools.patch:
3606           require am17 since AM_CONDITIONAL's are being done using variables
3607           which doesn't work with am16
3608
3609 2004-04-30  Thomas Vander Stichele  <thomas at apestaart dot org>
3610
3611         * ext/ffmpeg/gstffmpegcolorspace.c: (gst_ffmpegcsp_getcaps):
3612           revert previous patch
3613
3614 2004-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
3615
3616         * ext/ffmpeg/gstffmpegcolorspace.c: (gst_ffmpegcsp_getcaps):
3617           use GST_PAD_CAPS if they exist so we don't renegotiate needlessly
3618
3619 2004-04-22  Ronald Bultje  <rbultje@ronald.bitfreak.net>
3620
3621         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
3622         (gst_ffmpeg_caps_with_codecid), (gst_ffmpeg_caps_to_codecid):
3623           WAV/IMA-ADPCM -> DVI ADPCM.
3624
3625 2004-04-22  Benjamin Otte  <otte@gnome.org>
3626
3627         * ext/ffmpeg/gstffmpegcolorspace.c:
3628         (gst_ffmpegcsp_caps_remove_format_info):
3629           use gst_caps_do_simplify
3630
3631 2004-04-19  Benjamin Otte  <otte@gnome.org>
3632
3633         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_type_find):
3634           reduce maximum probability in typefinding to POSSIBLE. prevents
3635           misidentification of my mp3s as video/mpeg
3636
3637 2004-04-15  Ronald Bultje  <rbultje@ronald.bitfreak.net>
3638
3639         * ext/ffmpeg/gstffmpegcolorspace.c: (gst_ffmpegcsp_chain):
3640           NULL -> (NULL) inside GST_ELEMENT_ERROR().
3641
3642 2004-04-15  Ronald Bultje  <rbultje@ronald.bitfreak.net>
3643
3644         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_get_palette),
3645         (gst_ffmpeg_set_palette), (gst_ffmpeg_codecid_to_caps),
3646         (gst_ffmpeg_pixfmt_to_caps), (gst_ffmpeg_caps_to_smpfmt),
3647         (gst_ffmpeg_caps_to_pixfmt), (gst_ffmpeg_caps_with_codectype),
3648         (gst_ffmpeg_caps_with_codecid), (gst_ffmpeg_caps_to_codecid):
3649         * ext/ffmpeg/gstffmpegcodecmap.h:
3650           Change some function names to reflect that they don't really
3651           _return_ something, but rather _use_ something to fill a
3652           AVCodecContext. s/to/with/. Restructure the extradata handling,
3653           it's now not picking up the type from the caps but rather
3654           using the type as provided in the function. This is a lot
3655           cleaner. Implement MS RLE palette pickup.
3656         * ext/ffmpeg/gstffmpegcolorspace.c: (gst_ffmpegcsp_pad_link):
3657         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_connect):
3658           Sync with the above function name changes.
3659         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_close),
3660         (gst_ffmpegdec_open), (gst_ffmpegdec_connect),
3661         (gst_ffmpegdec_chain), (gst_ffmpegdec_change_state):
3662           Add some hacks to convert palette-based raw image formats to
3663           RGBA32. Ugly, but I don't know how else to handle palette-based
3664           RGB, since img_convert() (and thus ffcolorspace) doesn't accept
3665           a palette as argument.
3666
3667 2004-04-14  Thomas Vander Stichele  <thomas at apestaart dot org>
3668
3669         * everything: updated upstream source to 2004-04-11 23:00 GMT
3670           and fixed up patches
3671
3672 2004-04-11  Ronald Bultje  <rbultje@ronald.bitfreak.net>
3673
3674         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps):
3675           Add MS Video v1 (video/x-msvideocodec, CODEC_ID_MSVIDEO1).
3676
3677 2004-04-08  David Schleef  <ds@schleef.org>
3678
3679         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps):
3680         Change variadic macro to ISO form.  (bug #139460)
3681
3682 2004-04-06  Benjamin Otte  <otte@gnome.org>
3683
3684         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_register):
3685         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):
3686           fix memleaks
3687
3688 2004-04-05  Benjamin Otte  <otte@gnome.org>
3689
3690         * configure.ac:
3691           fix --export-symblos-regex to a working regex.
3692
3693 2004-04-03  Tim-Philipp Müller <t.i.m@zen.co.uk>
3694
3695         reviewed by: David Schleef  <ds@schleef.org>
3696
3697         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):  Fix
3698         memleaks (bug #138985)
3699
3700 2004-03-29  Thomas Vander Stichele  <thomas at apestaart dot org>
3701
3702         * ext/ffmpeg/*.c: indent
3703
3704 2004-03-25  Ronald Bultje  <rbultje@ronald.bitfreak.net>
3705
3706         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_base_init):
3707         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_base_init):
3708           Fix category.
3709         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_class_init),
3710         (gst_ffmpegdemux_init), (gst_ffmpegdemux_close):
3711           Slightly rewrite the init function, old one was ugly. Also remove
3712           dispose function since it's obsolete, the change_state function
3713           cleans up already. Also fixes segfault in test-app
3714           gstreamer/tests/instantiate/create
3715
3716 2004-03-24  Benjamin Otte  <otte@gnome.org>
3717
3718         * configure.ac:
3719           only export gst* symbols
3720         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain):
3721           change g_warning to debugging message, that wasn't a programming
3722           error
3723
3724 2004-03-18  Thomas Vander Stichele  <thomas at apestaart dot org>
3725
3726         * ext/ffmpeg/gstffmpegcolorspace.c: (gst_ffmpegcsp_chain):
3727           don't critical, throw error (#137588)
3728
3729 2004-03-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3730
3731         * configure.ac: bump nano to 1
3732
3733 === gst-ffmpeg 0.8.0 ===
3734
3735 2004-03-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3736
3737         * configure.ac: release 0.8.0, "In Buildings"
3738
3739 2004-03-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3740
3741         * gst-libs/ext/ffmpeg/.pc/cvsignore/doc/.cvsignore:
3742         * gst-libs/ext/ffmpeg/.pc/cvsignore/libavcodec/i386/.cvsignore:
3743         * gst-libs/ext/ffmpeg/configure:
3744         * gst-libs/ext/ffmpeg/libavformat/matroska.c: (ebml_read_float):
3745         * gst-libs/ext/ffmpeg/patches/matroska.patch:
3746           patch from Ronald to work on ppc
3747
3748 2004-03-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3749
3750         * ext/ffmpeg/gstffmpegcolorspace.c: (gst_ffmpegcsp_get_type):
3751           fix name of static to be in line with code
3752
3753 2004-03-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3754
3755         * configure.ac:
3756           don't set ACLOCAL_FLAGS !
3757         * gst-libs/ext/ffmpeg/.cvsignore:
3758         * gst-libs/ext/ffmpeg/patches/cvsignore.patch:
3759           trying to add configure to be ignored
3760
3761 2004-03-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3762
3763         reviewed by: <delete if not using a buddy>
3764
3765         * gst-libs/ext/ffmpeg/.cvsignore:
3766         * gst-libs/ext/ffmpeg/patches/cvsignore.patch:
3767
3768 2004-03-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3769
3770         * gst-libs/ext/ffmpeg/m4/vorbis.m4:
3771         * gst-libs/ext/ffmpeg/patches/autotools.patch:
3772           adding vorbis.m4
3773
3774 2004-03-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3775
3776         * gst-libs/ext/ffmpeg/m4/ogg.m4:
3777         * gst-libs/ext/ffmpeg/patches/autotools.patch:
3778         * gst-libs/ext/ffmpeg/patches/no-imlib.patch:
3779           adding ogg.m4
3780
3781 2004-03-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3782
3783         * gst-libs/ext/ffmpeg/patches/autotools.patch:
3784         * gst-libs/ext/ffmpeg/.pc/no-imlib/configure.ac:
3785         * gst-libs/ext/ffmpeg/autogen.sh:
3786           fix aclocal invocation to include m4 dir
3787         * gst-libs/ext/ffmpeg/configure.ac:
3788           add line to fix maintainer mode with aclocal 
3789
3790 2004-03-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3791
3792         * gst-libs/ext/ffmpeg/m4/imlib.m4:
3793         * gst-libs/ext/ffmpeg/m4/sdl.m4:
3794         * gst-libs/ext/ffmpeg/m4/freetype2.m4:
3795         * gst-libs/ext/ffmpeg/patches/autotools.patch:
3796           fix underquotedness, add freetype2.m4
3797
3798 2004-03-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3799
3800         * gst-libs/ext/ffmpeg/patches/autotools.patch:
3801           put in sdl.m4 and imlib.m4
3802
3803 2004-03-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3804
3805         * gst-libs/ext/ffmpeg/.pc/autotools/.pc:
3806         * gst-libs/ext/ffmpeg/.pc/no-imlib/configure.ac:
3807         * gst-libs/ext/ffmpeg/.pc/noinst-programs/Makefile.am:
3808         * gst-libs/ext/ffmpeg/autogen.sh:
3809         * gst-libs/ext/ffmpeg/configure:
3810         * gst-libs/ext/ffmpeg/configure.ac:
3811         * gst-libs/ext/ffmpeg/doc/.cvsignore:
3812         * gst-libs/ext/ffmpeg/libavcodec/i386/.cvsignore:
3813         * gst-libs/ext/ffmpeg/patches/autotools.patch:
3814         * gst-libs/ext/ffmpeg/patches/no-imlib.patch:
3815           fixing Makefile.am omission in autotools patch
3816           fix noinst-programs.patch
3817
3818 2004-03-14  Ronald Bultje  <rbultje@ronald.bitfreak.net>
3819
3820         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps):
3821         * ext/ffmpeg/gstffmpegcodecmap.h:
3822         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain),
3823         (gst_ffmpegdec_register):
3824         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_add),
3825         (gst_ffmpegdemux_register):
3826         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_connect),
3827         (gst_ffmpegenc_register):
3828         * ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_register):
3829           Add encode property to codec mapper, so we can get better-fitting
3830           caps. Also use this everywhere. ;). Lastly, add some new codecIDs
3831           to our list of recognized ones.
3832
3833 2004-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3834
3835         * gst-libs/ext/ffmpeg/.pc/applied-patches:
3836         * gst-libs/ext/ffmpeg/.pc/noinst-programs/.pc:
3837         * gst-libs/ext/ffmpeg/.pc/noinst-programs/Makefile.am:
3838         * gst-libs/ext/ffmpeg/Makefile.am:
3839         * gst-libs/ext/ffmpeg/patches/series:
3840           add patch to not install programs
3841
3842 2004-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3843
3844         * gst-libs/ext/ffmpeg/.pc/no-imlib/configure.ac:
3845         * gst-libs/ext/ffmpeg/.pc/autotools/.pc:
3846         * gst-libs/ext/ffmpeg/autogen.sh:
3847         * gst-libs/ext/ffmpeg/configure.ac:
3848           added m4 dir to autotools patch to fix imlib and sdl warnings
3849
3850 2004-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3851
3852         * gst-libs/ext/ffmpeg/.pc/no-imlib/configure.ac:
3853         * gst-libs/ext/ffmpeg/configure.ac:
3854         * gst-libs/ext/ffmpeg/patches/series:
3855           add patch to remove imlib completely
3856
3857 2004-03-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3858
3859         * configure.ac: use new setup with mirrored cvs tree
3860
3861 2004-03-10  David Schleef  <ds@schleef.org>
3862
3863         * gst-libs/ext/ffmpeg/patch/asm.diff:  Add a patch that
3864         decreases register usage.  (bug #136658)
3865
3866 2004-03-10  David Schleef  <ds@schleef.org>
3867
3868         * configure.ac: bump gstreamer API number to 0.8
3869
3870 2004-03-09  Ronald Bultje  <rbultje@ronald.bitfreak.net>
3871
3872         * ext/ffmpeg/Makefile.am:
3873           Prevent more symbol conflicts...
3874         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_register):
3875           Up priority/rank for MPEG-4 decoder. Reason is simple: it's well-
3876           tested and by far outperforms xviddec/divxdec. They'll get some
3877           other, slightly lower, rank.
3878         * gst-libs/ext/ffmpeg/patch/autotools.diff:
3879           Tweaking...
3880         * gst-libs/ext/ffmpeg/patch/disableinstalllibs.diff:
3881           Prevent more symbol conflicts. I changed this (to pass 'make
3882           distcheck') in the one patch, so need to change it here too.
3883         * gst-libs/ext/ffmpeg/patch/disablemmx.diff:
3884           Re-enable MMX. :).
3885         * gst-libs/ext/ffmpeg/patch/functions.diff:
3886           Bla.
3887
3888 2004-03-09  Ronald Bultje  <rbultje@ronald.bitfreak.net>
3889
3890         * configure.ac:
3891           Patch properly. Update version.
3892         * gst-libs/ext/ffmpeg/Makefile.am:
3893           Comment out patching - all handled by configure.
3894         * gst-libs/ext/ffmpeg/Tag:
3895           Update version.
3896         * gst-libs/ext/ffmpeg/patch/autotools.diff:
3897           Some small updates to improve compiling.
3898         * gst-libs/ext/ffmpeg/patch/functions.diff:
3899           Update date.
3900         * gst-libs/ext/ffmpeg/patch/matroska.diff:
3901           Newer patch - see ffmpeg-devel mailinglists.
3902         * gst-libs/ext/ffmpeg/patch/function.patch:
3903           Remove old cruft.
3904         * gst-libs/ext/ffmpeg/patch/disabletools.diff:
3905           Now handled by --disable-... in configure.
3906
3907 2004-03-07  David Schleef  <ds@schleef.org>
3908
3909         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps):
3910         Add cinepak format.  (bug #136470)
3911
3912 2004-03-05  David Schleef  <ds@schleef.org>
3913
3914         * configure.ac:  Call ffmpeg's configure with --disable-v4l,
3915         --disable-oss-audio, --disable-dv1394 (bug #127873)
3916
3917 2004-03-04  Ronald Bultje  <rbultje@ronald.bitfreak.net>
3918
3919         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_formatid_to_caps):
3920           Fix quicktime type recognition in ffmpeg. We returned a bogus
3921           caps, which caused ffdemux_quicktime to be chosen over qtdemux.
3922           This fixes that.
3923
3924 2004-03-04  Ronald Bultje  <rbultje@ronald.bitfreak.net>
3925
3926         * configure.ac:
3927           Brackets cause autoconf errors. So remove them.
3928         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_add):
3929           Actually use the event/convert/query functions. D'oh.
3930
3931 2004-03-02  Ronald Bultje  <rbultje@ronald.bitfreak.net>
3932
3933         * configure.ac:
3934         * gst-libs/ext/ffmpeg/Makefile.am:
3935           Slightly change the way we set this up. Ugly, but now it works
3936           again. This baby is looking for a proper fix.
3937         * gst-libs/ext/ffmpeg/Tag:
3938           Apparently CVS and me disagree on the tag... Ohwell, CVS wins.
3939         * gst-libs/ext/ffmpeg/patch/autotools.diff:
3940         * gst-libs/ext/ffmpeg/patch/disableinstalllibs.diff:
3941           Slight nag on a link between lavf/lavc in ffmpeg. Not really
3942           important for us since the code is the same in the end, but this
3943           is actually correct from a per-patch point-of-view...
3944
3945 2004-03-02  Ronald Bultje  <rbultje@ronald.bitfreak.net>
3946
3947         * gst-libs/ext/ffmpeg/Makefile.am:
3948           Fix patching.
3949
3950 2004-03-01  Ronald Bultje  <rbultje@ronald.bitfreak.net>
3951
3952         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_connect):
3953           Fix B-frame DivX5/XviD display by removing the truncated flag when
3954           not needed.
3955         * gst-libs/ext/ffmpeg/patch/autotools.diff:
3956           Remove link to libavcodec - it causes symbol conflicts (why?).
3957
3958 2004-02-29  Ronald Bultje  <rbultje@ronald.bitfreak.net>
3959
3960         * HACKING:
3961           Add some basic documentation on how our wrapping works.
3962         * TODO:
3963           Add a list of things that could be worked on or that need doing.
3964         * configure.ac:
3965           Update snapshot.
3966         * ext/ffmpeg/Makefile.am:
3967           Changne .la links. See below (autotools patch).
3968         * ext/ffmpeg/gstffmpeg.c: (plugin_init):
3969           Enable demuxers. See below (gstffmpegdemux.c).
3970         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_formatid_to_caps):
3971           Realmedia caused a crash - fix that.
3972         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_averror),
3973         (gst_ffmpegdemux_base_init), (gst_ffmpegdemux_init),
3974         (gst_ffmpegdemux_close), (gst_ffmpegdemux_dispose),
3975         (gst_ffmpegdemux_stream_from_pad),
3976         (gst_ffmpegdemux_src_event_mask), (gst_ffmpegdemux_src_event),
3977         (gst_ffmpegdemux_src_format_list),
3978         (gst_ffmpegdemux_src_query_list), (gst_ffmpegdemux_src_query),
3979         (gst_ffmpegdemux_src_convert), (gst_ffmpegdemux_add),
3980         (gst_ffmpegdemux_open), (gst_ffmpegdemux_loop),
3981         (gst_ffmpegdemux_change_state), (gst_ffmpegdemux_register):
3982           Right. OK, so I fixed up the demuxing and have it basically-working,
3983           and the best way to get some more people to test it is to actually
3984           enable it. I'm not sure if we want this for 0.8.0, but we can at
3985           least give it a try. I've tested avi, matroska and mpeg, all appear
3986           to work. The cool thing is that this gives us instant support for
3987           several exotic formats that we'd never care about ourselves. Again,
3988           this needs more testing for it to still be enabled in 0.8.0, but I
3989           want to give it a try...
3990         * ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_base_init),
3991         (gst_ffmpegmux_init), (gst_ffmpegmux_request_new_pad),
3992         (gst_ffmpegmux_connect), (gst_ffmpegmux_loop),
3993         (gst_ffmpegmux_register):
3994           Add some fixups that I use locally. Make it work in the case of
3995           MPEG encoding, but the muxer is still not in shape to be enabled.
3996         * ext/ffmpeg/gstffmpegprotocol.c: (gst_ffmpegdata_open),
3997         (gst_ffmpegdata_read), (gst_ffmpegdata_write),
3998         (gst_ffmpegdata_seek), (gst_ffmpegdata_close):
3999           Some small fixups that crept into it while it was disabled for the
4000           last few years. Basically works.
4001         * gst-libs/ext/ffmpeg/Makefile.am:
4002           Instead of having our local-autotoolized version, I patch the ffmpeg
4003           source to be fully autotoolized. That means a simple SUBDIRS here
4004           is now enough.
4005         * gst-libs/ext/ffmpeg/Tag:
4006           Version update.
4007         * gst-libs/ext/ffmpeg/patch/autotools.diff:
4008           Autotoolize ffmpeg. Needs to be sent to ffmpeg-devel@...
4009         * gst-libs/ext/ffmpeg/patch/disableinstalllibs.diff:
4010           Don't install their libs.
4011         * gst-libs/ext/ffmpeg/patch/disablemmx.diff:
4012           Don't use MMX. It cannot ocmpile using PIC.
4013         * gst-libs/ext/ffmpeg/patch/disabletools.diff:
4014           Don't compile/install their tools, we don't use them.
4015         * gst-libs/ext/ffmpeg/patch/functions.diff:
4016           Prevent symbol conflicts.
4017         * gst-libs/ext/ffmpeg/patch/matroska.diff:
4018           Add a matroska demuxer. Needs to be sent to ffmpeg-devel@...
4019
4020 2004-02-26  Thomas Vander Stichele  <thomas at apestaart dot org>
4021
4022         * configure.ac: releasing 0.7.1 "True Colors"
4023
4024 2004-02-14  Thomas Vander Stichele  <thomas at apestaart dot org>
4025
4026         * gst-ffmpeg.spec.in: fix spec file
4027
4028 2004-02-14 Christian Schaller <Uraeus@gnome.org>
4029
4030         * gst-ffmpeg.spec.in: add spec file
4031
4032 2004-02-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4033
4034         * creation
4035
4036