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