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