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