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