286eea3a1560996fb3b2dfa6802c12b6ef700f7d
[platform/upstream/gstreamer.git] / ChangeLog
1 2006-05-08  Edward Hervey  <edward@fluendo.com>
2
3         * autogen.sh: (CONFIGURE_DEF_OPT): 
4         libtoolize on Darwin/MacOSX is called glibtoolize
5
6 2006-05-07  Jan Schmidt  <thaytan@mad.scientist.com>
7
8         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
9         (gst_ffmpeg_caps_with_codecid), (gst_ffmpeg_formatid_get_codecids),
10         (gst_ffmpeg_caps_to_codecid), (gst_ffmpeg_get_codecid_longname):
11         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_class_init):
12         Add mappings for RealVideo 4.0, AMR-WB, AMR-NB and DTS to silence
13         warnings when registering.
14         Only register the 1/2,1/4 size decode and frame-skipping properties
15         on video decoders.
16
17         * gst-libs/ext/ffmpeg/configure.ac:
18         * gst-libs/ext/ffmpeg/libavformat/Makefile.am:
19         * gst-libs/ext/ffmpeg/patches/autotools.patch:
20         Merge patch by Sam Morris to allow disabling of decoders. 
21         Fixes #324366
22
23 2006-05-07  Jan Schmidt  <thaytan@mad.scientist.com>
24
25         * gst-libs/ext/ffmpeg/patches/autotools.patch:
26         * gst-libs/ext/ffmpeg/patches/noinst.patch:
27         Refresh patches to incorporate MikeS' automake 1.9 changes from a
28         while back.
29
30 2006-05-02  Tim-Philipp Müller  <tim at centricular dot net>
31
32         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):
33           Give ffmpeg demuxers a rank of NONE for the time being, so that
34           they are not auto-plugged; they are not stable enough for that
35           yet (e.g. #337785). Don't register AAC demuxer, it's not really
36           useful and can't be used as faad replacement (#338928).
37
38 2006-04-24  Edgard Lima <edgard.lima@indt.org.br>
39
40         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_chain_video):
41         just make it compile with --disable-gst-debug.
42
43 2006-04-21  Andy Wingo  <wingo@pobox.com>
44
45         * configure.ac (GST_MAJORMINOR): Drop the required gstreamer
46         version back down to the latest release, I don't think thomas'
47         commit on 1 april was meant to change it.
48
49         * ext/ffmpeg/gstffmpegdec.c (gst_ffmpegdec_register): Up the rank
50         of the dv video decoder.
51
52 2006-04-19  J^ <j@bootlab.org>
53
54         reviewed by: Edward Hervey  <edward@fluendo.com>
55
56         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
57         (gst_ffmpeg_formatid_to_caps), (gst_ffmpeg_formatid_get_codecids),
58         (gst_ffmpeg_get_codecid_longname):
59         Added proper GstCaps <==> CodecId for Apple QDRaw.
60         Fixed up proper wrapping for GstCaps <==> FormatId.
61
62 2006-04-18  Wim Taymans  <wim@fluendo.com>
63
64         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_perform_seek),
65         (gst_ffmpegdemux_loop):
66         Don't try to convert -1 values when seeking.
67         Adjust timestamps with start_time of the stream.
68
69 2006-04-13  Wim Taymans  <wim@fluendo.com>
70
71         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_base_init),
72         (gst_ffmpegdemux_class_init), (gst_ffmpegdemux_init),
73         (gst_ffmpegdemux_close), (gst_ffmpegdemux_push_event),
74         (gst_ffmpegdemux_set_flags), (gst_ffmpegdemux_is_eos),
75         (gst_ffmpegdemux_do_seek), (gst_ffmpegdemux_perform_seek),
76         (gst_ffmpegdemux_src_event), (gst_ffmpegdemux_send_event),
77         (gst_ffmpegdemux_src_query), (gst_ffmpegdemux_src_convert),
78         (gst_ffmpegdemux_get_stream), (my_safe_copy),
79         (gst_ffmpegdemux_read_tags), (gst_ffmpegdemux_open),
80         (gst_ffmpegdemux_loop), (gst_ffmpegdemux_sink_activate),
81         (gst_ffmpegdemux_sink_activate_pull),
82         (gst_ffmpegdemux_change_state), (gst_ffmpegdemux_register):
83         Rework the demuxer, implement all seeking stuff including
84         seek in ready.
85
86         * ext/ffmpeg/gstffmpegprotocol.c: (gst_ffmpegdata_peek),
87         (gst_ffmpegdata_close):
88         Handle some more cases.
89
90 2006-04-11  Wim Taymans  <wim@fluendo.com>
91
92         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_sink_event):
93         Actually convert to time instead of pretending.. Also
94         the bitrate of the context is mostly wrong so don't
95         bother calculating a stop position.
96         Closing (#331323)
97
98 2006-04-10  Wim Taymans  <wim@fluendo.com>
99
100         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain):
101         When we see a keyframe don't wait for another one.
102
103 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
104
105         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_class_init):
106         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_class_init):
107         * ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_class_init):
108         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
109
110 2006-04-08  Wim Taymans  <wim@fluendo.com>
111
112         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_do_qos):
113         Too bad we can't use gst_private.h..
114
115 2006-04-08  Wim Taymans  <wim@fluendo.com>
116
117         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_avpicture_fill):
118         Some other formats, still commented out, though.
119
120 2006-04-08  Wim Taymans  <wim@fluendo.com>
121
122         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_class_init),
123         (gst_ffmpegdec_init), (gst_ffmpegdec_finalize),
124         (gst_ffmpegdec_query), (gst_ffmpegdec_update_qos),
125         (gst_ffmpegdec_reset_qos), (gst_ffmpegdec_read_qos),
126         (gst_ffmpegdec_src_event), (gst_ffmpegdec_open),
127         (gst_ffmpegdec_setcaps), (gst_ffmpegdec_get_buffer),
128         (gst_ffmpegdec_release_buffer),
129         (gst_ffmpegdec_add_pixel_aspect_ratio), (gst_ffmpegdec_negotiate),
130         (gst_ffmpegdec_do_qos), (gst_ffmpegdec_frame),
131         (gst_ffmpegdec_flush_pcache), (gst_ffmpegdec_sink_event),
132         (gst_ffmpegdec_chain):
133         Cleanups.  Fix refcounting here and there. use DEBUG_OBJECT,
134         refactor some functions. Use GstSegment.
135         Implement simple QOS by using the ffmpeg hurry_up field.
136
137 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
138
139         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):
140           Register id3 demuxer, avi demuxer and ogg demuxer with
141           a rank of GST_RANK_NONE so that they don't get
142           autoplugged accidentally. We want people to install
143           the demuxers that are known to work well rather than
144           mostly untested stuff like ffdemux_*.
145
146 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
147
148         * ext/ffmpeg/gstffmpeg.c:
149         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps):
150         * ext/ffmpeg/gstffmpegdec.c:
151         (gst_ffmpegdec_add_pixel_aspect_ratio), (gst_ffmpegdec_frame):
152         * ext/ffmpeg/gstffmpegprotocol.c: (gst_ffmpegdata_seek):
153         * ext/ffmpeg/gstffmpegscale.c: (gst_ffmpegscale_transform_caps),
154         (gst_ffmpegscale_handle_src_event):
155           various compiler fixes
156         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_src_event),
157         (my_safe_copy), (gst_ffmpegdemux_open),
158         (gst_ffmpegdemux_change_state):
159           actually return the result.  Tee hee.
160
161 2006-03-31  Thomas Vander Stichele <thomas at apestaart dot org>
162
163         * configure.ac:
164           back to HEAD
165
166 === release 0.10.1 ===
167
168 2006-03-31  Thomas Vander Stichele <thomas at apestaart dot org>
169
170         * configure.ac:
171           releasing 0.10.1, "Late Train"
172
173 2006-03-22  Wim Taymans  <wim@fluendo.com>
174
175         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_close),
176         (gst_ffmpegdec_setcaps), (gst_ffmpegdec_change_state):
177         make _open and _close as functions that should be
178         called with the object lock instead of them taking a
179         lock themselves. This fixes a deadlock when 
180         _open fails.
181
182 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
183
184         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame):
185           Don't use gst_pad_alloc_buffer() for frames with palette,
186           as we'll artificially shorten the size of buffers in that
187           case and GstBaseTransform will complain about unit size
188           issues if we use _alloc_buffer() with the full size.
189
190 2006-03-01  Michal Benes  <michal dot benes at xeris dot cz>
191
192         reviewed by: Edward Hervey  <edward@fluendo.com>
193
194         * ext/ffmpeg/Makefile.am:
195         * ext/ffmpeg/gstffmpeg.c: (plugin_init):
196         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_formatid_to_caps),
197         (gst_ffmpeg_formatid_get_codecids):
198         * ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_base_init),
199         (gst_ffmpegmux_init), (gst_ffmpegmux_finalize),
200         (gst_ffmpegmux_request_new_pad), (gst_ffmpegmux_setcaps),
201         (gst_ffmpegmux_collected), (gst_ffmpegmux_change_state),
202         (gst_ffmpegmux_register):
203         Port of FFMpeg muxers to 0.10.
204         Still needs some loving in gstffmpegcodecmap to have them all supported
205         with correct input formats.
206         Closes #332339
207         
208
209 2006-03-01  Michal Benes  <michal dot benes at xeris dot cz>
210
211         Reviewed by : Edward Hervey  <edward@fluendo.com>
212
213         * ext/ffmpeg/Makefile.am:
214         * ext/ffmpeg/gstffmpeg.c: (plugin_init):
215         * ext/ffmpeg/gstffmpegscale.c: (gst_ffmpegscale_base_init),
216         (gst_ffmpegscale_class_init), (gst_ffmpegscale_init),
217         (gst_ffmpegscale_finalize), (gst_ffmpegscale_transform_caps),
218         (gst_ffmpegscale_fixate_caps), (gst_ffmpegscale_get_unit_size),
219         (gst_ffmpegscale_set_caps), (gst_ffmpegscale_transform),
220         (gst_ffmpegscale_handle_src_event), (gst_ffmpegscale_register):
221         Port of ffvideoscale to 0.10.
222         Closes #332557
223
224 2006-03-01  Josef Zlomek  <josef dot zlomek at itonis dot tv>
225
226         Reviewed by : Edward Hervey  <edward@fluendo.com>
227
228         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_chain_audio):
229         Fix segmentation fault and memleak.
230         Fixes #332995 and #333001
231
232 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
233
234         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame):
235           ... can't adjust buffer size of NULL buffers though
236           (as happens when seeking in video from #327075).
237
238 2006-02-24  Michael Smith  <msmith@fluendo.com>
239
240         * autogen.sh:
241         * gst-libs/ext/ffmpeg/autogen.sh:
242           Allow automake 1.9
243
244 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
245
246         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_get_palette),
247         (gst_ffmpeg_set_palette):
248           Use AVPALETTE_SIZE macro instead of magic value for clarity.
249
250         Based on patch by: Fabrizio Gennari
251         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame):
252           In GStreamer, the size of the palette is not part of
253           GST_BUFFER_SIZE, so adjust buffer size of outgoing buffers
254           accordingly if there's a palette (fixes #327028)
255
256 2006-02-21  Edward Hervey  <edward@fluendo.com>
257
258         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
259         (gst_ffmpeg_formatid_to_caps):
260         Added proper formatid to caps conversion for ogg, gif, yuv4mpeg and
261         quicktime formats.
262
263 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
264
265         * configure.ac:
266         Apply patch from Sebastien Cote to handle --with-pkg-config-path
267         before looking for GStreamer patches. (Re-closes #319248)
268
269 2006-02-19  Jan Schmidt  <thaytan@mad.scientist.com>
270
271         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
272         (gst_ffmpeg_caps_with_codecid):
273         Add extra detail to the Real format caps. With this info, 
274         filesrc ! ffdemux_rm ! ffdec_cook ! ... works, but using rmdemux
275         doesn't. The order of the data the demuxers output appears to be
276         different.
277
278 2006-02-19  Jan Schmidt  <thaytan@mad.scientist.com>
279
280         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
281         (gst_ffmpeg_formatid_to_caps), (gst_ffmpeg_get_codecid_longname):
282         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):
283         Add new codec ids and fix up some of the codec->mime type mappings
284
285 2006-02-19  Jan Schmidt  <thaytan@mad.scientist.com>
286
287         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
288         (gst_ffmpeg_caps_to_codecid), (gst_ffmpeg_get_codecid_longname):
289         Add codec mapping for RealAudio G2 (Cook) codec.
290
291 2006-02-19  Jan Schmidt  <thaytan@mad.scientist.com>
292
293         * HACKING:
294         Mention ffmpeg snapshot update
295
296         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
297         (gst_ffmpeg_caps_to_codecid), (gst_ffmpeg_get_codecid_longname):
298         Add new codec types from FFMpeg snapshot update to 2006-02-17 4:00 GMT
299
300 2006-02-17  Wim Taymans  <wim@fluendo.com>
301
302         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_sink_activate):
303         Post nice error message when we cannot activate in pull mode.
304
305 2006-02-14  Edward Hervey  <edward@fluendo.com>
306
307         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_open):
308         If the duration returned by ffmpeg is 0, it doesn't mean the file has
309         no duration, but that it doesn't know the end.
310         Fixed accordingly for segment_stop.
311
312 2006-02-13  Edward Hervey  <edward@fluendo.com>
313
314         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_release_buffer),
315         (gst_ffmpegdec_frame):
316         More fixes for keyframe detection in ffmpeg decoders...
317
318 2006-02-12  Thomas Vander Stichele  <thomas at apestaart dot org>
319
320         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_caps_to_pixfmt):
321         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_getcaps):
322           respect pixel-aspect-ratio when encoding.
323
324 2006-02-12  Edward Hervey  <edward@fluendo.com>
325
326         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_init),
327         (gst_ffmpegdemux_close), (gst_ffmpegdemux_handle_seek),
328         (gst_ffmpegdemux_add), (my_safe_copy), (gst_ffmpegdemux_read_tags),
329         (gst_ffmpegdemux_open), (gst_ffmpegdemux_loop):
330         Add Tag support and keyframe seeking (for those formats where ffmpeg
331         actually fills in the index).
332         * ext/ffmpeg/gstffmpegprotocol.c: (gst_ffmpegdata_peek),
333         (gst_ffmpegdata_read), (gst_ffmpegdata_seek):
334         Add support for size querying.
335
336 2006-02-11  Thomas Vander Stichele  <thomas at apestaart dot org>
337
338         * ext/ffmpeg/gstffmpeg.c:
339           set correct version on the plug-in - the GStreamer
340           FFMpeg version.  I could swear I had already done this
341           before.
342
343 2006-02-11  Thomas Vander Stichele  <thomas at apestaart dot org>
344
345         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_class_init),
346         (gst_ffmpegenc_init), (gst_ffmpegenc_setcaps):
347           debug and magic number fixes
348
349 2006-02-10  Edward Hervey  <edward@fluendo.com>
350
351         * ext/ffmpeg/Makefile.am:
352         * ext/ffmpeg/gstffmpeg.c: (plugin_init):
353         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_base_init),
354         (gst_ffmpegdemux_init), (gst_ffmpegdemux_stream_from_pad),
355         (gst_ffmpegdemux_handle_seek), (gst_ffmpegdemux_src_event),
356         (gst_ffmpegdemux_src_query_list), (gst_ffmpegdemux_src_query),
357         (gst_ffmpegdemux_add), (gst_ffmpegdemux_open),
358         (gst_ffmpegdemux_loop), (gst_ffmpegdemux_sink_activate),
359         (gst_ffmpegdemux_sink_activate_pull),
360         (gst_ffmpegdemux_change_state), (gst_ffmpegdemux_register):
361         * ext/ffmpeg/gstffmpegprotocol.c: (gst_ffmpegdata_open),
362         (gst_ffmpegdata_peek), (gst_ffmpegdata_read),
363         (gst_ffmpegdata_write), (gst_ffmpegdata_seek),
364         (gst_ffmpegdata_close):
365         Welcome the demuxers to 0.10 :)
366         For the time being the demuxers work only pull-based.
367         Seeking, querying works.
368
369 2006-02-10  Edward Hervey  <edward@fluendo.com>
370
371         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps):
372         added CODEC_ID_FLV1 <==> 'video/x-flash-video,flvversion=1' conversion.
373
374 2006-02-06  Thomas Vander Stichele  <thomas at apestaart dot org>
375
376         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
377         (gst_ffmpeg_smpfmt_to_caps):
378         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_setcaps),
379         (gst_ffmpegdec_negotiate), (gst_ffmpegdec_frame),
380         (gst_ffmpegdec_chain):
381           debug recurring events at LOG level
382           do some timestamp setting heuristics on the pcache, with the
383           net result of having more buffers have approximately correct
384           timestamps.
385           This allows playback of h263/3gp files taking fps from the demuxer,
386           which before always set GST_CLOCK_TIME_NONE as timestamp.
387
388 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
389
390         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_get_palette):
391           Buffers aren't boxed types any longer.
392
393 2006-02-03  Edgard Lima <edgard.lima@indt.org.br>
394
395         * ext/ffmpeg/gstffmpegenc.c:
396           Just make it compile with --disable-gst-debug.
397                         
398 2006-02-02  Andy Wingo  <wingo@pobox.com>
399
400         * ext/ffmpeg/gstffmpegdec.c (gst_ffmpegdec_register): Reorder case
401         statements to make control flow more clear.
402
403 2006-02-02  Christian Schaller <christian at fluendo dot com>
404
405         * Set rank NONE for mp3 and mpeg2video:
406           They don't work properly and having them autoplugged
407           gives people a bad impression and leads them to not grab 
408           mad or fluendo mp3. Fixes #162833
409
410 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
411
412         * configure.ac:
413           fix build of deinterlace
414
415 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
416
417         * docs/plugins/Makefile.am:
418         * docs/plugins/gst-ffmpeg-plugins-docs.sgml:
419           first stab at documenting ffmpeg elements.  Needs work.
420
421 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
422
423         * configure.ac:
424         * docs/Makefile.am:
425         * docs/plugins/.cvsignore:
426         * docs/plugins/gst-ffmpeg-plugins-docs.sgml:
427         * docs/plugins/gst-ffmpeg-plugins.args:
428         * docs/plugins/gst-ffmpeg-plugins.hierarchy:
429         * docs/plugins/gst-ffmpeg-plugins.interfaces:
430         * docs/plugins/gst-ffmpeg-plugins.prerequisites:
431         * docs/plugins/gst-ffmpeg-plugins.types:
432         * docs/plugins/inspect.stamp:
433         * docs/plugins/inspect/plugin-ffmpeg.xml:
434         * docs/version.entities.in:
435           First step at adding docs
436
437 2006-01-26  Tim-Philipp Müller  <tim at centricular dot net>
438
439         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_caps_with_codecid):
440           Pad codec data buffer to a size that is a multiple of 16, which
441           ffmpeg apparently needs for optimized/unchecked access to the
442           data. Fixes crashes with HD h264 video.
443
444 2006-01-23  Edward Hervey  <edward@fluendo.com>
445
446         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps):
447         Added CODEC_ID_SMC <==> video/x-smc   caps
448         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame):
449         I hate ffmpeg... no keyframe information at all for VP3, so we have
450         to assume they're all keyframes :(
451
452 2006-01-20  Martin Zlomek from Itonis (michael.benes@xeris.cz)
453
454         reviewed by: Edward Hervey  <edward@fluendo.com>
455
456         * ext/ffmpeg/Makefile.am:
457         * ext/ffmpeg/gstffmpeg.c: (plugin_init):
458         * ext/ffmpeg/gstffmpegdeinterlace.c:
459         (gst_ffmpegdeinterlace_base_init),
460         (gst_ffmpegdeinterlace_class_init),
461         (gst_ffmpegdeinterlace_sink_setcaps), (gst_ffmpegdeinterlace_init),
462         (gst_ffmpegdeinterlace_chain), (gst_ffmpegdeinterlace_register):
463         ffdeinterlace port to 0.10.
464         Could be made a subclass of GstBaseTransform later on...
465
466 2006-01-20  Michal Benes  <michael.benes@xeris.cz>
467
468         Reviewed by : Edward Hervey  <edward@fluendo.com>
469
470         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_chain_audio): 
471         Caps weren't set on outgoing audio buffers.
472         Closes #327861
473
474 2006-01-17  Edward Hervey  <edward@fluendo.com>
475
476         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain):
477         Memleak fix.
478         Closes #326704
479
480 2006-01-17  Edward Hervey  <edward@fluendo.com>
481
482         * configure.ac:
483         Add --with-pkg-config-path argument.
484         Closes #319248
485
486 2006-01-12  Andy Wingo  <wingo@pobox.com>
487
488         * libavcodec/utils.c: Fix for CVE-2005-4048 (bugzilla bug
489         #324209), buffer overflow with small PNG images with palettes.
490         Patch by: Loïc Minier <lool+gnome at via.ecp.fr>
491
492         * libavutil/Makefile.am (INCLUDES): Add ALTIVEC_CFLAGS here, fixes
493         compilation on ppc (#320238).
494
495 2006-01-11  Edward Hervey  <edward@fluendo.com>
496
497         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame):
498         Add exception for Indeo3 keyframe detection until upstream ffmpeg
499         behaves properly.
500
501 2005-12-19  Edward Hervey  <edward@fluendo.com>
502
503         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps):
504         Update ffmpeg_codec_id <=> mimetype conversions
505         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame):
506         Finer grained keyframe detection
507
508 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
509
510         Patch by: Sebastien Cote
511         Patch by: Luca Ognibene
512         * ext/ffmpeg/gstffmpeg.c: (gst_ffmpeg_avcodec_open),
513         (gst_ffmpeg_avcodec_close):
514         * ext/ffmpeg/gstffmpeg.h:
515         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_close),
516         (gst_ffmpegdec_open):
517         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_dispose),
518         (gst_ffmpegenc_getcaps), (gst_ffmpegenc_setcaps),
519         (gst_ffmpegenc_change_state):
520           Do proper locking around avcodec_open() and avcodec_close()
521           (fixes #322254)
522
523 2005-12-10  Tim-Philipp Müller  <tim at centricular dot net>
524
525         * gst-libs/ext/Makefile.am:
526           We need to use $(MAKE) here instead of 'make' (on some
527           systems it's gmake that needs to be called, for example)
528
529 2005-12-07  Edward Hervey  <edward@fluendo.com>
530
531         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame):
532         So, stupid ffmpeg.... Not all [en|de]coders set AVFrame->type.
533         This should handle the case where AVFrame->reference is set to 1 (which
534         is the equivalent of a keyframe).
535         Also fixes #323286.
536         I tried a truckload of other files with this modification and it didn't
537         seem to break playback.
538
539 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
540
541         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
542         (gst_ffmpeg_pixfmt_to_caps), (gst_ffmpeg_caps_to_pixfmt),
543         (gst_ffmpeg_caps_with_codecid), (gst_ffmpeg_caps_to_codecid):
544         * ext/ffmpeg/gstffmpegcodecmap.h:
545         * ext/ffmpeg/gstffmpegdeinterlace.c:
546         (gst_ffmpegdeinterlace_pad_link), (gst_ffmpegdeinterlace_init),
547         (gst_ffmpegdeinterlace_chain):
548         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_class_init),
549         (gst_ffmpegenc_chain_audio):
550         * ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_loop):
551         * ext/ffmpeg/gstffmpegprotocol.c: (gst_ffmpegdata_write):
552         * ext/ffmpeg/gstffmpegscale.c: (gst_ffmpegscale_pad_link),
553         (gst_ffmpegscale_init), (gst_ffmpegscale_chain),
554         (gst_ffmpegscale_change_state):
555         * ext/libpostproc/gstpostproc.c: (change_context), (change_mode),
556         (gst_postproc_base_init), (gst_postproc_class_init),
557         (gst_postproc_init), (gst_postproc_link), (gst_postproc_chain),
558         (gst_postproc_change_state), (gst_postproc_set_property),
559         (gst_postproc_get_property), (gst_postproc_register):
560           expand tabs
561
562 === release 0.10.0 ===
563
564 2005-12-05   <thomas (at) apestaart (dot) org>
565
566         * configure.ac:
567           releasing 0.10.0, "Rocamadour"
568
569 2005-12-05  Andy Wingo  <wingo@pobox.com>
570
571         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_get_buffer),
572         (gst_ffmpegdec_frame):
573         * ext/ffmpeg/gstffmpegdeinterlace.c: (gst_ffmpegdeinterlace_chain):
574         * ext/ffmpeg/gstffmpegscale.c: (gst_ffmpegscale_chain): Update for
575         alloc_buffer changes.
576
577 === release 0.9.7 ===
578
579 2005-12-01   <thomas (at) apestaart (dot) org>
580
581         * configure.ac:
582           releasing 0.9.7, "Mein Hund Hat Keine Nase"
583
584 2005-11-28  Julien MOUTTE  <julien@moutte.net>
585
586         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_class_init),
587         (gst_ffmpegenc_init), (gst_ffmpegenc_getcaps),
588         (gst_ffmpegenc_setcaps), (gst_ffmpegenc_set_property),
589         (gst_ffmpegenc_get_property): Add rtp-payload-size property.
590
591 2005-11-28  Tim-Philipp Müller  <tim at centricular dot net>
592
593         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_close),
594         (gst_ffmpegdec_setcaps), (gst_ffmpegdec_add_pixel_aspect_ratio),
595         (gst_ffmpegdec_negotiate):
596           Improve pixel aspect ratio handling when both the demuxer and the
597           decoder provide a pixel aspect ratio: if one of the two ratios is
598           1:1, use the other one; if both are non-1:1, use the one provided
599           by the decoder (fixes matroska starwars test files); also add some
600           locking here and there.
601
602 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
603
604         * configure.ac: back to HEAD
605
606 === release 0.9.6 ===
607
608 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
609
610         * configure.ac:
611           releasing 0.9.6, "Cold Cat"
612
613 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
614
615         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame):
616         Updated API 
617
618 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
619
620         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_caps_to_pixfmt):
621         Whoops - handle input video caps that don't have a framerate
622
623 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
624
625         * HACKING:
626         * ext/ffmpeg/gstffmpegcolorspace.c:
627           Remove mentions of ffmpegcolorspace now that it's in 
628           gst-plugins-base
629
630         * ext/ffmpeg/Makefile.am:
631           Link to gstreamer libraries
632         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_caps_to_pixfmt):
633         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_init),
634         (gst_ffmpegdec_close), (gst_ffmpegdec_setcaps),
635         (gst_ffmpegdec_negotiate), (gst_ffmpegdec_frame):
636           Convert to fractional framerate
637
638 2005-11-22  Andy Wingo  <wingo@pobox.com>
639
640         * ext/ffmpeg/gstffmpegdec.c (gst_ffmpegdec_sink_event): Run
641         update-funcnames.
642
643 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
644
645         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_sink_event):
646           Remove GST_STREAM_LOCK here, it is not needed any longer.
647
648 2005-11-16  Luca Ognibene  <luogni@tin.it>
649
650         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_get_buffer):
651           My previous commit was not completly correct.. I've disabled
652         our _get_buffer function until we make it work 100%. I've opened a bug
653         (#321662) for this issue.
654
655 2005-11-16  Luca Ognibene  <luogni@tin.it>
656
657         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_release_buffer),
658         (gst_ffmpegdec_frame):
659          Fix some segfaults while seeking. When i have unreffed 
660          the buffer in _release_buffer i should also set picture->opaque to
661          NULL otherwise sometimes it can be unreffed another time in
662          _frame causing an invalid read/write.
663
664 2005-11-14  Andy Wingo  <wingo@pobox.com>
665
666         * configure.ac (GST_PLUGIN_LDFLAGS): -no-undefined for better
667         debugging, allows dll builds on windows. Fixes #316076.
668
669 2005-11-14  Tim-Philipp Müller  <tim at centricular dot net>
670
671         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame),
672         (gst_ffmpegdec_sink_event):
673           Don't crash in debug message by dereferencing the NULL buffer
674           gst_ffmpegdec_frame() gets passed on EOS. Take STREAM_LOCK for
675           EOS, TAG, NEWSEGMENT and FLUSH_STOP events.
676
677 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
678
679         * configure.ac: back to HEAD
680
681 === release 0.9.5 ===
682
683 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
684
685         * configure.ac:
686           releasing 0.9.5, "Sound Of Silence"
687
688 2005-11-11  Edward Hervey  <edward@fluendo.com>
689
690         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_get_buffer),
691         (gst_ffmpegdec_release_buffer), (gst_ffmpegdec_frame),
692         (gst_ffmpegdec_sink_event):
693         Properly unref a buffer if we drop it.
694         Esthetic fixes.
695
696 2005-11-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
697
698         * TODO:
699           Add some TODO items for 0.9 cycle.
700
701 2005-10-26  Tim-Philipp Müller  <tim at centricular dot net>
702
703         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_init),
704         (gst_ffmpegdec_close), (gst_ffmpegdec_open),
705         (gst_ffmpegdec_setcaps), (gst_ffmpegdec_negotiate),
706         (gst_ffmpegdec_frame), (gst_ffmpegdec_sink_event),
707         (gst_ffmpegdec_chain):
708           Backported some fixes from 0.8. Most importantly, use
709           demuxer's timestamping information if we use its framerate
710           value. Makes divx play properly again among other things
711           (#319616, #313970, #317596). Did not backport memory leak
712           fix.
713
714 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
715
716         * configure.ac:
717           back to HEAD
718
719 === release 0.9.4 ===
720
721 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
722
723         * configure.ac:
724           releasing 0.9.4, "Triceratops"
725
726 2005-10-23  Julien MOUTTE  <julien@moutte.net>
727
728         * ext/ffmpeg/Makefile.am: Fix build.
729         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
730         (gst_ffmpeg_caps_to_codecid), (gst_ffmpeg_get_codecid_longname):
731         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_register):
732         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_register): Add QDM2
733         and TrueMotion 2.
734
735 2005-10-11  Wim Taymans  <wim@fluendo.com>
736
737         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_sink_event):
738         newsegment API update.
739
740 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
741
742         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps):
743           we have better ways of debugging caps
744         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_setcaps):
745           ye gods.  get_template_caps doesn't return a ref, so when the
746           pad was not linked, crashes would ensue.  Serves me right.
747
748 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
749
750         * configure.ac:
751           back to development
752
753 === release 0.9.3 ===
754
755 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
756
757         * NEWS:
758         * README:
759         * configure.ac:
760           Releasing 0.9.3, "D'Artagnan"
761
762 2005-09-30  Thomas Vander Stichele  <thomas at apestaart dot org>
763
764         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_setcaps):
765           if no peer, use the src pad template caps as allowed
766           caps
767
768 2005-09-22  Wim Taymans  <wim@fluendo.com>
769
770         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_setcaps):
771         Do not limit quantizer values so we can get really low
772         bitrates.
773
774 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
775
776         patch by: Wim Taymans
777
778         * gst-libs/ext/ffmpeg/libavcodec/h263.c:
779         (h263_encode_picture_header), (mpeg4_encode_vol_header):
780         * gst-libs/ext/ffmpeg/patches/h263.patch:
781         * gst-libs/ext/ffmpeg/patches/series:
782           fix frame rate encoding for h263
783
784 2005-09-20  Wim Taymans  <wim@fluendo.com>
785
786         * ext/ffmpeg/gstffmpegcodecmap.h:
787         Avoid division by 0 errors.
788
789 2005-09-19  Wim Taymans  <wim@fluendo.com>
790
791         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_setcaps),
792         (gst_ffmpegdec_frame):
793         Don't blindly assume there is a codec.
794
795 2005-09-19  Wim Taymans  <wim@fluendo.com>
796
797         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_caps_to_pixfmt):
798         Better framerate setting.
799
800 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
801
802         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_sink_event):
803           fix up newsegment
804
805 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
806
807         * ext/ffmpeg/gstffmpeg.c: (gst_ffmpeg_log_callback), (plugin_init):
808         * ext/ffmpeg/gstffmpeg.h:
809         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_getcaps):
810           shut up the logging while it's probing for formats
811
812 2005-09-05  Andy Wingo  <wingo@pobox.com>
813
814         * Update for state change type and macro changes.
815
816 2005-08-19  Wim Taymans  <wim@fluendo.com>
817
818         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_setcaps),
819         (gst_ffmpegenc_chain_video), (gst_ffmpegenc_change_state):
820         Fix return values from the setcaps function.
821
822 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
823
824         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame),
825         (gst_ffmpegdec_sink_event), (gst_ffmpegdec_chain):
826           Handle return values of gst_pad_push().
827
828 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
829
830         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps):
831           Forwardport from 0.8 to implement QT-RLE.
832
833 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
834
835         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_sink_event):
836           Flush buffers in flush-stop, not flush-start, since the task is not
837           stopped yet in flush-stop, which may lead to odd crashes in random
838           places inside libavcodec.
839
840 2005-08-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
841
842         * ext/ffmpeg/gstffmpegcodecmap.c:
843           Fix template to not allow fps=0.
844
845 2005-08-05  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
846
847         * configure.ac:
848         * ext/ffmpeg/Makefile.am:
849         * ext/ffmpeg/gstffmpeg.c: (plugin_init):
850         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_caps_with_codecid):
851         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_class_init),
852         (gst_ffmpegdec_init), (gst_ffmpegdec_query), (gst_ffmpegdec_event),
853         (gst_ffmpegdec_open), (gst_ffmpegdec_setcaps),
854         (gst_ffmpegdec_get_buffer), (gst_ffmpegdec_negotiate),
855         (gst_ffmpegdec_frame), (gst_ffmpegdec_sink_event),
856         (gst_ffmpegdec_chain), (gst_ffmpegdec_change_state),
857         (gst_ffmpegdec_register):
858         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_class_init),
859         (gst_ffmpegenc_init), (gst_ffmpegenc_getcaps),
860         (gst_ffmpegenc_setcaps), (gst_ffmpegenc_chain_video),
861         (gst_ffmpegenc_chain_audio):
862         * ext/libpostproc/Makefile.am:
863           Backport BRANCH-THREADED to HEAD, fix a bit.
864
865 === release 0.8.6 ===
866
867 2005-08-05  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
868
869         * NEWS:
870         * RELEASE:
871         * configure.ac:
872           Release gst-ffmpeg 0.8.6 "Vamoz a la Playa".
873
874 2005-07-28  daniel fischer  <dan@f3c.com>
875
876         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
877
878         * ext/ffmpeg/gstffmpegcodecmap.h:
879           Actually initialize value (#311802).
880
881 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
882
883         * ext/ffmpeg/gstffmpegcodecmap.h:
884         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_connect),
885         (gst_ffmpegdec_frame), (gst_ffmpegdec_chain):
886         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_loop):
887         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_link),
888         (gst_ffmpegenc_chain_video):
889         * ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_loop):
890           Use special functions for timestamp-conversion again, since we
891           otherwise don't handle clocktimenone correctly (#311593).
892
893 2005-07-24  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
894
895         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_caps_to_codecid):
896           Add x264 to muxer (it was added to template, but I forgot to add
897           h264 caps recognition for some reason).
898
899 2005-07-22  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
900
901         * ext/ffmpeg/gstffmpegcodecmap.c:
902           Make type explicit.
903         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_release_buffer),
904         (gst_ffmpegdec_frame), (gst_ffmpegdec_chain),
905         (gst_ffmpegdec_change_state):
906           When we provide a buffer and get a valid return value (data was
907           read), but no output (have-data==0), then we need to reuse this
908           same output buffer, because it may be used for caching output
909           data. Fixes #307353.
910         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_loop):
911           Timestamp fix.
912
913 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
914
915         * ext/ffmpeg/gstffmpeg.h:
916         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
917         (gst_ffmpeg_caps_to_pixfmt), (gst_ffmpeg_formatid_get_codecids),
918         (gst_ffmpeg_caps_to_codecid), (gst_ffmpeg_get_codecid_longname),
919         (gst_ffmpeg_img_convert):
920         * ext/ffmpeg/gstffmpegcodecmap.h:
921         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_negotiate),
922         (gst_ffmpegdec_frame), (gst_ffmpegdec_chain),
923         (gst_ffmpegdec_register):
924         * ext/ffmpeg/gstffmpegdeinterlace.c:
925         (gst_ffmpegdeinterlace_getcaps), (gst_ffmpegdeinterlace_pad_link):
926         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_src_event),
927         (gst_ffmpegdemux_src_format_list), (gst_ffmpegdemux_src_query),
928         (gst_ffmpegdemux_src_convert), (gst_ffmpegdemux_add),
929         (gst_ffmpegdemux_register):
930         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_getcaps),
931         (gst_ffmpegenc_link), (gst_ffmpegenc_chain_video),
932         (gst_ffmpegenc_chain_audio):
933         * ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_request_new_pad),
934         (gst_ffmpegmux_connect), (gst_ffmpegmux_loop),
935         (gst_ffmpegmux_register):
936         * ext/ffmpeg/gstffmpegprotocol.c: (gst_ffmpegdata_write):
937         * ext/ffmpeg/gstffmpegscale.c: (gst_ffmpegscale_pad_link):
938         * ext/libpostproc/gstpostproc.c: (gst_postproc_chain):
939           Update to ffmpeg snapshot of Jul 20 2005 4:00 PM GMT. Mostly
940           some added codecs, some API changes, etc. Also adds a VOB muxer
941           for MPEG-2 video and adds h264 to .mp4 muxing.
942
943 2005-07-16  daniel fischer  <dan@f3c.com>
944
945         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
946
947         * ext/ffmpeg/gstffmpegprotocol.c: (gst_ffmpegdata_open):
948           Strip off private flags from context value (#310054).
949
950 2005-07-11  Luca Ognibene  <luogni@tin.it>
951
952         * ext/ffmpeg/gstffmpegdec.c (struct _GstFFMpegDec) 
953         (gst_ffmpegdec_open, gst_ffmpegdec_negotiate): 
954           Cache the pixel format value and renegotiate the pipeline
955           if this value changes. Fixes segfault when decoding a
956           stream with different colorspaces like a sequence of jpeg.
957
958 2005-07-11  daniel fischer  <dan@f3c.com>
959
960         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
961
962         * ext/ffmpeg/gstffmpeg.h:
963         * ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_loop):
964         * ext/ffmpeg/gstffmpegprotocol.c: (gst_ffmpegdata_open),
965         (gst_ffmpegdata_write):
966           Add a stream-header flag to set stream-header caps on some streams,
967           such as (in this case) flv (fixes #309051).
968
969 2005-06-27  Luca Ognibene  <luogni@tin.it>
970
971         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_loop):
972         timestamp is a GstClockTime, not a double..
973         fix #309149 and maybe others bug
974
975 2005-06-27  Daniel Fischer  <dan@f3c.com>
976
977         reviewed by: Luca Ognibene <luogni@tin.it>
978
979         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_loop):
980         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_chain_video):
981         more DELTA_UNIT / KEY_UNIT fixes
982
983 2005-06-27  Daniel Fischer  <dan@f3c.com>
984
985         reviewed by: Luca Ognibene <luogni@tin.it>
986
987         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_formatid_to_caps),
988         (gst_ffmpeg_formatid_get_codecids), (gst_ffmpeg_caps_to_codecid):
989         add flv encoder
990         
991         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame):
992         set both DELTA_UNIT and KEY_UNIT
993         
994         * ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_loop):
995         use DELTA_UNIT and not the deprecated KEY_UNIT
996
997 2005-06-25  Luca Ognibene  <luogni@tin.it>
998
999         * ext/libpostproc/gstpostproc.c: (gst_ffmpeg_log_callback),
1000         (plugin_init):
1001         * ext/libpostproc/gstpostproc.h:
1002         fix debug output
1003
1004 2005-06-25  Sebastien Cote <sc5@hermes.usherb.ca>
1005
1006         Reviewed by: Luca Ognibene <luogni@tin.it>
1007         
1008         * ext/ffmpeg/gstffmpegenc.c (gst_ffmpegenc_chain_video): 
1009         set the GST_BUFFER_DELTA_UNIT while encoding
1010         fix #308804
1011
1012 2005-06-20  Edward Hervey  <edward@fluendo.com>
1013
1014         * ext/libpostproc/gstpostproc.c: (gst_postproc_register):
1015         It works better when filing the hash_table BEFORE registering the element.
1016         
1017 2005-06-20  Edward Hervey  <edward@fluendo.com>
1018
1019         * ext/Makefile.am: (SUBDIRS):
1020         * ext/libpostproc:
1021         * ext/libpostproc/Makefile.am:
1022         * ext/libpostproc/gstpostproc.c:
1023         * ext/libpostproc/gstpostproc.h:
1024         ffmpeg's libpostproc wrapper plugins
1025
1026         * configure.ac: 
1027         added --enable-pp to ffmpeg configure arguments
1028
1029 2005-06-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1030
1031         * configure.ac:
1032           Dev mode.
1033
1034 === release 0.8.5 ===
1035
1036 2005-06-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1037
1038         * NEWS:
1039         * RELEASE:
1040         * TODO:
1041         * configure.ac:
1042           Release 0.8.5 "For the better of the world".
1043         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_caps_with_codecid):
1044           Stay backwards compatible a short while longer (SVQ3).
1045
1046 2005-06-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1047
1048         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame):
1049           Only do timestamp interpolation for delayed streams (containing
1050           B-frames). Fixes stuttering playback of ASF files (#306770).
1051
1052 2005-06-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1053
1054         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
1055         (gst_ffmpeg_caps_with_codecid):
1056           Remove weird flags from SVQ3 flags and just give full atom,
1057           like other files; fixes frame order problems (#306530).
1058
1059 2005-06-08  Luca Ognibene  <luogni@tin.it>
1060
1061         * ext/ffmpeg/gstffmpegdec.c (gst_ffmpegdec_change_state): 
1062           First close the ffmpeg context than try to free last_buffer.
1063           fix #306893
1064
1065 2005-06-03  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1066
1067         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_open),
1068         (gst_ffmpegdec_handle_event), (gst_ffmpegdec_register):
1069           Disable parsing on h264 for now, seems to break avc decoding.
1070
1071 2005-06-03  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1072
1073         * configure.ac:
1074           scale requires -libs (video.h).
1075         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_getcaps):
1076           Don't crash if open failed.
1077
1078 2005-05-24  Luca Ognibene  <luogni@tin.it>
1079
1080         * ext/ffmpeg/gstffmpegdeinterlace.c (gst_ffmpegdeinterlace_chain): 
1081           Always stamp your buffers ! (ooops)
1082
1083 2005-05-24  Edward Hervey  <bilboed@bilboed.com>
1084
1085         * ext/ffmpeg/gstffmpegscale.c: (gst_ffmpegscale_chain):
1086         Always stamp your buffers !
1087
1088 2005-05-17  Luca Ognibene  <luogni@tin.it>
1089
1090         * ext/ffmpeg/gstffmpegcodecmap.c (gst_ffmpeg_pixfmt_to_caps): 
1091           Add YUV444P format as Y444
1092
1093 2005-05-15  Luca Ognibene  <luogni@tin.it>
1094
1095         * ext/ffmpeg/Makefile.am: 
1096         * ext/ffmpeg/gstffmpegdeinterlace.c: 
1097         * ext/ffmpeg/gstffmpeg.c (plugin_init): 
1098           Add ffdeinterlace element
1099         * TODO: 
1100           yo, another thing removed from the TODO
1101
1102 2005-05-14  Luca Ognibene  <luogni@tin.it>
1103
1104         * ext/ffmpeg/gstffmpegscale.c (gst_ffmpegscale_change_state): 
1105           Don't segfault if using passthrough
1106
1107 2005-05-13  Luca Ognibene  <luogni@tin.it>
1108
1109         * ext/ffmpeg/gstffmpeg.c (plugin_init): 
1110         * ext/ffmpeg/Makefile.am: 
1111         * ext/ffmpeg/gstffmpegscale.c: 
1112           Add ffvideoscale element (#303727)
1113
1114         * TODO: 
1115           update TODO   
1116
1117         * ext/ffmpeg/gstffmpegcodecmap.c (gst_ffmpeg_pixfmt_to_caps): 
1118           Add support for GRAY8 colorspace
1119
1120 2005-05-11  Luca Ognibene  <luogni@tin.it>
1121
1122         * ext/ffmpeg/gstffmpegenc.c (gst_ffmpegenc_chain_video): 
1123         * ext/ffmpeg/gstffmpegdec.c (gst_ffmpegdec_chain): 
1124           Makes ffmpegdec and ffmpegenc use these functions
1125           and remove a comment from a previuos patch
1126
1127         * ext/ffmpeg/gstffmpegcodecmap.h: 
1128           Add two utility functions to convert the pts from/to
1129           the ffmpeg format
1130
1131 2005-05-06  Luca Ognibene  <luogni@tin.it>
1132
1133         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1134
1135         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_init),
1136         (gst_ffmpegdec_open), (gst_ffmpegdec_connect),
1137         (gst_ffmpegdec_get_buffer), (gst_ffmpegdec_release_buffer),
1138         (gst_ffmpegdec_frame), (gst_ffmpegdec_change_state):
1139           Re-re-enable get_/release_buffer functions, removes a few more
1140           percent of our CPU usage (#301783).
1141
1142 2005-05-02  Luca Ognibene  <luogni@tin.it>
1143
1144         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1145
1146         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_pixfmt_to_caps):
1147           Add JPEG-formatted YUV enums.
1148
1149 2005-05-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1150
1151         * ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_class_init),
1152         (gst_ffmpegmux_finalize), (gst_ffmpegmux_loop),
1153         (gst_ffmpegmux_change_state):
1154           Fix possible segfaults (#302017).
1155
1156 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1157
1158         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_handle_event):
1159           Use CODEC_CAP_DELAY and remove max-10-delayed-frames hack.
1160
1161 2005-04-23  Luca Ognibene  <luogni@tin.it>
1162
1163         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1164
1165         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_getcaps):
1166           Don't crash if avcodec_open failed (#301717).
1167
1168 2005-04-21  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1169
1170         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):
1171           Re-disable mov typefinding which breaks mov playback.
1172
1173 2005-04-21  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1174
1175         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
1176         (gst_ffmpeg_caps_with_codecid), (gst_ffmpeg_caps_to_codecid),
1177         (gst_ffmpeg_get_codecid_longname):
1178           Add ALAC, shorten and some more in new FFMPEG snapshot of
1179           21/4, somewhere this afternoon.
1180         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_register):
1181         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_register):
1182           Add warnings to decoder registration to easier add new ones
1183           during snapshot updates.
1184
1185 2005-04-21  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1186
1187         * ext/ffmpeg/gstffmpegcodecmap.c:
1188         (gst_ffmpeg_formatid_get_codecids):
1189           Enable MPEG muxer.
1190
1191 2005-04-18  Luca Ognibene  <luogni@tin.it>
1192
1193         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1194
1195         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame):
1196           Next try at using pad_alloc_buffer (#300923).
1197
1198 2005-04-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1199
1200         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame):
1201           Revert previous, we cannot call pad_alloc_buffer() before being
1202           negotiated.
1203
1204 2005-04-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1205
1206         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame):
1207           Use gst_pad_alloc_buffer().
1208
1209 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1210
1211         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_handle_event):
1212           Safety bet to not completely crush the system on EOS. Fixes the
1213           bad behaviour of #300200 (doesn't fix the actual issue).
1214
1215 2005-04-02  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1216
1217         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_open),
1218         (gst_ffmpegdec_handle_event):
1219           Fix breakage of testsuite by adding keyframe syncing; changed
1220           to sync only for some streamtypes (MPEG-2/-4, for now).
1221         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_add):
1222           Add tags.
1223
1224 2005-04-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1225
1226         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_init),
1227         (gst_ffmpegdec_open), (gst_ffmpegdec_frame),
1228         (gst_ffmpegdec_handle_event):
1229           Implement keyframe syncing.
1230
1231 2005-03-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1232
1233         * ext/ffmpeg/gstffmpeg.c: (plugin_init):
1234           Enable muxers (only mp4 muxer for now).
1235         * ext/ffmpeg/gstffmpegcodecmap.c:
1236         (gst_ffmpeg_formatid_get_codecids), (gst_ffmpeg_caps_to_codecid):
1237         * ext/ffmpeg/gstffmpegcodecmap.h:
1238           Fix a bunch of typos in codec-id lookup (false/true return value
1239           mixup), add a codec-id list retrieval function (because ffmpeg
1240           does not provide one). With that, we can make valid pad templates.
1241         * ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_init),
1242         (gst_ffmpegmux_connect), (gst_ffmpegmux_loop),
1243         (gst_ffmpegmux_change_state), (gst_ffmpegmux_get_id_caps),
1244         (gst_ffmpegmux_register):
1245           Fix for whatever changed since I last tried this. Works for MP4
1246           muxing.
1247         * ext/ffmpeg/gstffmpegprotocol.c: (gst_ffmpegdata_open),
1248         (gst_ffmpegdata_peek), (gst_ffmpegdata_write),
1249         (gst_ffmpegdata_seek), (gst_ffmpegdata_close):
1250           Update obviously-untested write code...
1251
1252 2005-03-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1253
1254         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_chain_video):
1255           Fix crash on randomly sized input (#169082).
1256
1257 2005-03-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1258
1259         * configure.ac:
1260           Dev.
1261
1262 === release 0.8.4 ===
1263
1264 2005-03-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1265
1266         * NEWS:
1267         * RELEASE:
1268         * configure.ac:
1269           Release 0.8.4 "Mellow on my fingers".
1270
1271 2005-03-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1272
1273         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps):
1274           Add MPEG-4 audio for debugging.
1275
1276 2005-02-05  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1277
1278         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_link):
1279           Only free context if it was created (otherwise it crashes).
1280
1281 2005-02-04  Jan Schmidt  <thaytan@mad.scientist.com>
1282
1283         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame),
1284         (gst_ffmpegdec_chain), (gst_ffmpegdec_register):
1285           Reduce the rank of the mpeg2 decoder back below mpeg2dec
1286           Use the parser to reorder pts times. Fixes mpeg playback
1287           without changing any other files I tested.
1288           Use the repeat_pict flag to correctly set durations
1289
1290 2005-02-02  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1291
1292         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
1293         (gst_ffmpeg_caps_to_codecid):
1294           Change caps of MJPEGB to not interfere with MJPEG/JPEG.
1295         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_register):
1296           Remove rank for SP5X, no clue what that is...
1297
1298 2005-02-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1299
1300         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame):
1301           Don´t SIGFPE right away.
1302
1303 2005-01-31  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1304
1305         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_lowres_get_type),
1306         (gst_ffmpegdec_skipframe_get_type), (gst_ffmpegdec_class_init),
1307         (gst_ffmpegdec_init), (gst_ffmpegdec_connect),
1308         (gst_ffmpegdec_frame), (gst_ffmpegdec_set_property),
1309         (gst_ffmpegdec_get_property):
1310           Implement B-frame skipping and low-resolution decoding (useful
1311           for very slow CPUs).
1312
1313 2005-01-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1314
1315         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_register):
1316         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_register):
1317           Oops, unbreak audio.
1318
1319 2005-01-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1320
1321         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
1322         (gst_ffmpeg_caps_to_codecid):
1323           Add AMR mimetypes (since those are recognized in ffmpeg).
1324         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame),
1325         (gst_ffmpegdec_register):
1326         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):
1327         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_register):
1328           Register law codecs too, add time debug. Use ANY for template caps
1329           since we don't necessarily have available decoders for recognized
1330           formats.
1331
1332 2005-01-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1333
1334         * ext/ffmpeg/gstffmpeg.c: (plugin_init):
1335           Fix compile with debug disabled (#165250).
1336
1337 2005-01-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1338
1339         * ext/ffmpeg/gstffmpegprotocol.c: (gst_ffmpegdata_peek):
1340           Yet Another Logic Error.
1341
1342 2005-01-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1343
1344         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_negotiate):
1345           <insert rant about why gcc should support parsing errors>.
1346
1347 2005-01-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1348
1349         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
1350         (gst_ffmpeg_pixfmt_to_caps), (gst_ffmpeg_caps_to_pixfmt):
1351           Add extradata to huffyuv, sync RGBA32 up with gst-plugins.
1352         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_query),
1353         (gst_ffmpegdec_event):
1354           Make somewhat clearer.
1355
1356 2005-01-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1357
1358         * TODO:
1359           Update since some tasks are done.
1360         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_formatid_to_caps):
1361         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_type_find):
1362           Add correct mimetype for FLI video, restore correct typefind
1363           priority.
1364
1365 2005-01-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1366
1367         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_connect),
1368         (gst_ffmpegdec_frame), (gst_ffmpegdec_handle_event),
1369         (gst_ffmpegdec_chain):
1370           More debug, re-fix MPEG-2 (yes, I broke it already!).
1371
1372 2005-01-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1373
1374         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_handle_event),
1375         (gst_ffmpegdec_chain):
1376           Another fix for MPEG-4 movies...
1377
1378 2005-01-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1379
1380         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_open),
1381         (gst_ffmpegdec_connect), (gst_ffmpegdec_negotiate),
1382         (gst_ffmpegdec_frame), (gst_ffmpegdec_handle_event):
1383           Add some more debug, fix for B-frame containing XviD movies.
1384
1385 2005-01-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1386
1387         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_handle_event):
1388           Only flush when the codec is opened.
1389
1390 2005-01-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1391
1392         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
1393         (gst_ffmpeg_caps_to_codecid), (gst_ffmpeg_get_codecid_longname):
1394         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_register):
1395           Re-add H263I as intel-h263 (which is not h263-compliant...).
1396           Increase rank of mpeg2video since it plays more videos than
1397           its gst-plugins counterpart, with no regressions.
1398
1399 2005-01-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1400
1401         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame):
1402           Don't unref NULL data...
1403
1404 2005-01-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1405
1406         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_init),
1407         (gst_ffmpegdec_open), (gst_ffmpegdec_frame),
1408         (gst_ffmpegdec_handle_event), (gst_ffmpegdec_chain):
1409           Add B-frame timestamp smoothing.
1410
1411 2005-01-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1412
1413         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame),
1414         (gst_ffmpegdec_chain):
1415           Separate buffer handling from actual decoding, handle pending
1416           frames (for B-frames and so on) so we catch the last frames
1417           before EOS, prepare for some timestamp changes to make playback
1418           of movies with B-frames smoother (not done yet).
1419
1420 2005-01-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1421
1422
1423         (gst_ffmpegdec_negotiate), (gst_ffmpegdec_chain):
1424         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_init),
1425         (gst_ffmpegdemux_close), (gst_ffmpegdemux_src_query),
1426         (gst_ffmpegdemux_loop):
1427           Add simple query functions. Seeking is only cosmetic, it's not
1428           actually filled in yet (in ffmpegdec).
1429
1430 2005-01-17  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1431
1432         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_init),
1433         (gst_ffmpegenc_link), (gst_ffmpegenc_chain_video):
1434           Remove EMU_EDGE, since that really fixes #162905. Revert
1435           previous hacks.
1436
1437 2005-01-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1438
1439         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_chain_video):
1440           Unref after encode (#162905).
1441
1442 2005-01-16  Luca Ognibene  <luogni@tin.it>
1443
1444         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1445
1446         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_link),
1447         (gst_ffmpegenc_chain_video):
1448           Workaround memory issues (#162905).
1449
1450 2005-01-10  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1451
1452         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_type_find):
1453           Decrease certainty a bit so we use flxdec for .flx videos.
1454
1455 2005-01-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1456
1457         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_dispose):
1458           Call parent.
1459
1460 2005-01-09  Luca Ognibene  <luogni@tin.it>
1461
1462         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1463
1464         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain):
1465           Disable parsing for MJPEG input since that's already cut at
1466           frame-boundaries. Fixes #163340.
1467
1468 2005-01-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1469
1470         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
1471         (gst_ffmpeg_caps_to_codecid):
1472           Set property incompatible with DV demuxer so that it won't
1473           infinitely plug demuxers to each other. Fixes playback of .dv
1474           streams in Totem.
1475
1476 2004-12-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1477
1478         * configure.ac:
1479           Dev.
1480
1481 === release 0.8.3 === 
1482
1483 2004-12-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1484
1485         * NEWS:
1486         * RELEASE:
1487         * configure.ac:
1488           Release 0.8.3 "Tiny Piece of Plastic".
1489
1490 2004-12-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1491
1492         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):
1493           Don't cripple rank as a hack to not register typefind functions.
1494           Instead, just use a boolean for that. This makes ID3-tagged MP3
1495           files play even if mad is not installed.
1496
1497 2004-12-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1498
1499         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_register):
1500           Remove rank from ffdec_h263i until I know how it's different
1501           from ffdec_h263. Fixes #155163.
1502
1503 2004-12-18  David Schleef  <ds@schleef.org>
1504
1505         * autogen.sh: execute ffmpeg's autogen.sh directly
1506         * gst-libs/ext/ffmpeg/autogen.sh: Add a #! line.  Specify bash,
1507         since there are bashisms ('local').
1508
1509 2004-12-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1510
1511         * ext/ffmpeg/gstffmpegprotocol.c: (gst_ffmpegdata_open),
1512         (gst_ffmpegdata_peek), (gst_ffmpegdata_read),
1513         (gst_ffmpegdata_write), (gst_ffmpegdata_seek),
1514         (gst_ffmpegdata_close):
1515           Add debug. Don't EOS unless all data was read.
1516
1517 2004-12-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1518
1519         * ext/ffmpeg/gstffmpegprotocol.c: (gst_ffmpegdata_peek),
1520         (gst_ffmpegdata_read), (gst_ffmpegdata_seek):
1521           Some "seeking" hacks, and separate peek from read (read = peek +
1522           flush) so seek can use peek as well to workaround typefind. With
1523           this, I'm able to play several of the gaming format movies in
1524           Totem.
1525
1526 2004-12-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1527
1528         * ext/ffmpeg/Makefile.am:
1529         * ext/ffmpeg/gstffmpeg.h:
1530           Add header.
1531
1532 2004-12-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1533
1534         * ext/ffmpeg/gstffmpeg.c:
1535         * ext/ffmpeg/gstffmpegcodecmap.c:
1536         * ext/ffmpeg/gstffmpegcodecmap.h:
1537         * ext/ffmpeg/gstffmpegcolorspace.c:
1538         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain):
1539         * ext/ffmpeg/gstffmpegdemux.c:
1540         * ext/ffmpeg/gstffmpegenc.c:
1541         * ext/ffmpeg/gstffmpegmux.c:
1542         * ext/ffmpeg/gstffmpegprotocol.c:
1543           Add debugging category everywhere (correctly this time). Don't
1544           parse mp3 data (the parser is a piece of crap). Fixes #155274
1545           mostly. Seeking pending.
1546
1547 2004-12-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1548
1549         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_formatid_to_caps):
1550           Add ID3 mime. Should partially fix #155274 (although raw mp3
1551           sounds awful, it doesn't parse correctly in the decoder-only
1552           case).
1553
1554 2004-12-17  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1555
1556         * ext/ffmpeg/gstffmpegcodecmap.c:
1557         (gst_ffmpeg_get_codecid_longname):
1558           Fix typo.
1559
1560 2004-12-17  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1561
1562         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain):
1563           Small parsing fix in comb. with ffdemux_mpeg.
1564
1565 2004-12-17  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1566
1567         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_init),
1568         (gst_ffmpegdec_close), (gst_ffmpegdec_open), (gst_ffmpegdec_chain):
1569           Include optional parser if supported (currently only MPEG-1/-2
1570           video). This fixes playback of MPEG-1/-2 videos using
1571           ffdec_mpeg2video.
1572
1573 2004-12-17  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1574
1575         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_base_init),
1576         (gst_ffmpegenc_init), (gst_ffmpegenc_getcaps),
1577         (gst_ffmpegenc_link):
1578           Move setup of sink caps (accepted formats) to a separate function
1579           rather than doing it on initialization.
1580
1581 2004-12-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1582
1583         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
1584         (gst_ffmpeg_caps_to_codecid), (gst_ffmpeg_get_codecid_longname),
1585         (gst_ffmpeg_avpicture_fill):
1586           Add new codecIDs from new snapshot (Thu Dec 16 11:27:18 2004).
1587         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_src_event),
1588         (gst_ffmpegdemux_type_find), (gst_ffmpegdemux_loop):
1589         * ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_loop):
1590           API updates.
1591         * ext/ffmpeg/gstffmpegprotocol.c: (gst_ffmpegdata_read),
1592         (gst_ffmpegdata_seek):
1593           A slightly smarter approach, but it still needs lost of work to
1594           be reliable in any way...
1595
1596 2004-12-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1597
1598         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_init),
1599         (gst_ffmpegdec_close), (gst_ffmpegdec_connect),
1600         (gst_ffmpegdec_negotiate), (gst_ffmpegdec_chain):
1601           Move negotiation outside the _chain function, and use the
1602           codec PAR if available and prefer it over demuxer PAR (since
1603           this is usually the right thing to do). Fixes #159755.
1604
1605 2004-12-16  Sebastien Cote  <sc5@hermes.usherb.ca>
1606
1607         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1608
1609         * ext/ffmpeg/gstffmpegcolorspace.c: (gst_ffmpegcsp_pad_link):
1610           Fix memleak (#154815).
1611
1612 2004-12-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1613
1614         * ext/ffmpeg/gstffmpegcolorspace.c: (gst_ffmpegcsp_pad_link),
1615         (gst_ffmpegcsp_init), (gst_ffmpegcsp_chain),
1616         (gst_ffmpegcsp_change_state):
1617           Some sync with ffmpegcolorspace (flatten AVFrame).
1618
1619 2004-11-05  Wim Taymans  <wim@fluendo.com>
1620
1621         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_avpicture_get_size),
1622         (gst_ffmpeg_avpicture_fill), (gst_ffmpeg_img_convert):
1623         * ext/ffmpeg/gstffmpegcodecmap.h:
1624         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain):
1625         Fix strides and plane sizes when dealing with odd sized
1626         movies.
1627
1628 2004-10-29  Sebastien Cote  <sc5@hermes.usherb.ca>
1629
1630         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1631
1632         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain):
1633           Prevent division by zero (#155212).
1634
1635 2004-10-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1636
1637         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_avpicture_fill):
1638         * ext/ffmpeg/gstffmpegcodecmap.h:
1639         * ext/ffmpeg/gstffmpegcolorspace.c: (gst_ffmpegcsp_chain):
1640         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_get_buffer),
1641         (gst_ffmpegdec_chain):
1642         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_chain_video):
1643           Sync with gst-plugins ffmpegcolorspace, align-by-4. Ready to
1644           re-sync gst-plugins ffmpegcolorspace with ours and deprecate
1645           this one.
1646
1647 2004-10-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1648
1649         * ext/ffmpeg/gstffmpegcolorspace.c: (gst_ffmpegcsp_pad_link):
1650           Backport changes from ffmpegcolorspace (gst-plugins) so we can
1651           then move the whole of this plugin back and deprecate this (no,
1652           I'm not insane).
1653
1654 2004-10-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1655
1656         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
1657         (gst_ffmpeg_codectype_to_caps), (gst_ffmpeg_caps_with_codecid):
1658         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_base_init),
1659         (gst_ffmpegenc_connect), (gst_ffmpegenc_register):
1660           Fix encoders. Fix if encoder supports >1 caps.
1661
1662 2004-10-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1663
1664         * ext/ffmpeg/gstffmpegcodecmap.c:
1665         (gst_ffmpeg_get_codecid_longname):
1666         * ext/ffmpeg/gstffmpegcodecmap.h:
1667         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_base_init),
1668         (gst_ffmpegdec_register):
1669         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_base_init),
1670         (gst_ffmpegenc_register):
1671           Hmm, fancy names...
1672
1673 2004-10-20  Thomas Vander Stichele  <thomas at apestaart dot org>
1674
1675         * configure.ac: up req of GStreamer since we use fractions
1676
1677 2004-10-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1678
1679         * gst-ffmpeg.spec.in:
1680           Remove unused 'versioning' variable.
1681
1682 2004-10-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1683
1684         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_init),
1685         (gst_ffmpegenc_chain_video):
1686           Set chain function before adding pad, fix memleak on error, error
1687           out on encode errors because none of subsequent frames will work
1688           any better (this is not input dependent).
1689
1690 2004-10-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1691
1692         * configure.ac:
1693           CVS.
1694
1695 === release 0.8.2 ===
1696
1697 2004-10-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1698
1699         * NEWS:
1700         * RELEASE:
1701         * configure.ac:
1702           Release 0.8.2.
1703
1704 2004-10-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1705
1706         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain):
1707           Unref when not usable.
1708
1709 2004-10-04  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1710
1711         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
1712         (gst_ffmpeg_caps_with_codecid):
1713           Negotiation fixes for real video codecs.
1714
1715 2004-10-02  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1716
1717         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_loop):
1718           Fix timestamps. Quite some of the gaming formats work now. :).
1719
1720 2004-10-02  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1721
1722         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
1723         (gst_ffmpeg_caps_with_codecid), (gst_ffmpeg_caps_to_codecid):
1724           Generalized palette functions, add actual mimetypes for wing
1725           commander formats.
1726         * ext/ffmpeg/gstffmpegcolorspace.c: (gst_ffmpegcsp_chain):
1727           Ffmpeg has internal palette functions, so I noticed.
1728         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain):
1729           Actually remove all palette code.
1730
1731 2004-10-02  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1732
1733         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_loop):
1734           Signal no_more_pads.
1735         * ext/ffmpeg/gstffmpegprotocol.c: (gst_ffmpegdata_read),
1736         (gst_ffmpegdata_seek):
1737           Handle events.
1738
1739 2004-10-02  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1740
1741         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_pixfmt_to_caps),
1742         (gst_ffmpeg_caps_to_pixfmt):
1743         * ext/ffmpeg/gstffmpegcolorspace.c: (gst_ffmpegcsp_pad_link),
1744         (gst_ffmpegcsp_init), (gst_ffmpegcsp_chain),
1745         (gst_ffmpegcsp_change_state), (gst_ffmpegcsp_register):
1746         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain):
1747           Move palette handling over from the decoder to the colorspace
1748           conversion plugin (where you would expect it).
1749
1750 2004-10-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1751
1752         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
1753         (gst_ffmpeg_caps_with_codecid), (gst_ffmpeg_caps_to_codecid):
1754           Simplify codec_data handling.
1755
1756 2004-09-23  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1757
1758         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain):
1759           Update timestamp for every new buffer that we output. Improves
1760           audio playback for several files that have multiple audio chunks
1761           per buffer.
1762
1763 2004-09-22  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1764
1765         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_register):
1766           msmpeg4v3 should be priority as well, else it will choose divxdec
1767           first (which we don't want).
1768
1769 2004-09-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1770
1771         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
1772         (gst_ffmpeg_caps_with_codecid):
1773           WMV extradata (make #152798 work). J-frames are only available
1774           in the bitstream if the J-frame bit has been set in the extradata.
1775           If not (or if extradata is not provided), the movie won't play.
1776         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_close),
1777         (gst_ffmpegdec_connect), (gst_ffmpegdec_chain):
1778           Only close ffmpeg if privdata was allocated (else it segfaults).
1779           Autodetect encoding bugs and workaround it. Don't copy data if
1780           decoding failed.
1781         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_loop):
1782           Use read_frame() instead of read_packet() which is obsolete.
1783
1784 2004-09-16 Iain <iaingnome@gmail.com>
1785
1786         * ext/ffmpeg/gstffmpegmux.c (gst_ffmpegmux_register): Free name fix 
1787         leak.
1788
1789 2004-07-21  Thomas Vander Stichele  <thomas at apestaart dot org>
1790
1791         * ext/ffmpeg/gstffmpegcolorspace.c: (gst_ffmpegcsp_chain):
1792           no point in doing any chaining if the pad we want to push from
1793           isn't usable.
1794
1795
1796 2004-07-21  Thomas Vander Stichele  <thomas at apestaart dot org>
1797
1798         * configure.ac: bump nano
1799
1800 === gst-ffmpeg 0.8.1 ===
1801
1802 2004-07-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1803
1804         * configure.ac: release 0.8.1, "Just Another Victim"
1805
1806 2004-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
1807
1808         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_base_init):
1809         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_base_init):
1810           d'oh, put them back
1811
1812 2004-07-07  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
1813
1814         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain):
1815           drop incoming buffers that generate decoding errors
1816
1817 2004-07-07  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
1818
1819         * ext/ffmpeg/gstffmpeg.c: (gst_ffmpeg_log_callback), (plugin_init):
1820         * ext/ffmpeg/gstffmpegcodecmap.h:
1821         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain):
1822           hook up our debug handler to FFmpeg's.
1823           warn about getting negative have_data
1824
1825 2004-07-04  Thomas Vander Stichele  <thomas at apestaart dot org>
1826
1827         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_base_init):
1828         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_base_init):
1829           bring category order in line with others
1830
1831 2004-06-13  Ronald Bultje  <rbultje@ronald.bitfreak.net>
1832
1833         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
1834         (gst_ffmpeg_caps_to_codecid):
1835         * ext/ffmpeg/gstffmpegprotocol.c: (gst_ffmpegdata_read):
1836           Do some more random property setting. Fix for if there's less than
1837           ffmpeg-default-buffersize (32kB) data in a file _and_ there's an
1838           event pending. Partially fixes #142320.
1839
1840 2004-06-06  Ronald Bultje  <rbultje@ronald.bitfreak.net>
1841
1842         * ext/ffmpeg/gstffmpeg.c: (plugin_init):
1843           Remove redundant calls which are called internally already.
1844         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_caps_with_codecid):
1845           Indenting...
1846         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_loop),
1847         (gst_ffmpegdemux_register):
1848           Remove typefind functions and rank for demuxers for any demuxer
1849           that we already have in GStreamer.
1850
1851 2004-05-18  Benjamin Otte  <in7y118@public.uni-hamburg.de>
1852
1853         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_caps_with_codecid):
1854           don't operate on undefined variables (fixes #135145)
1855
1856 2004-05-16  Benjamin Otte  <otte@gnome.org>
1857
1858         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain):
1859           Hi, I'm a memleak
1860
1861 2004-05-14  Ronald Bultje  <rbultje@ronald.bitfreak.net>
1862
1863         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_src_event),
1864         (gst_ffmpegdemux_src_query), (gst_ffmpegdemux_src_convert),
1865         (gst_ffmpegdemux_open), (gst_ffmpegdemux_loop):
1866         * ext/ffmpeg/gstffmpegprotocol.c: (gst_ffmpegdata_open),
1867         (gst_ffmpegdata_read), (gst_ffmpegdata_write),
1868         (gst_ffmpegdata_seek):
1869           Fix up demuxer. Works now for all my files that I tried, even
1870           quicktime. I basically hack around the super-oversimplistic file
1871           I/O handling in ffmpeg in several ways together, and I also hack
1872           around the fairly annoying EOS-will-pause-the-source-element in
1873           GStreamer itself.
1874           This code is not pretty.
1875
1876 2004-05-11  Jeremy Simon  <jesimon@libertysurf.fr>
1877
1878         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
1879         (gst_ffmpeg_caps_with_codecid):
1880          block_align and bitrate caps property were lost for wma
1881          use codec_data instead of flag1 and flag2
1882
1883 2004-05-11  Benjamin Otte  <in7y118@public.uni-hamburg.de>
1884
1885         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_formatid_to_caps):
1886           it's audio/x-wav, not video/x-wav
1887
1888 2004-05-10  Stephane Loeuillet <stephane.loeuillet@tiscali.fr>
1889
1890         * ext/ffmpeg/gstffmpegdec.c
1891         * ext/ffmpeg/gstffmpegenc.c
1892                 change plugins category to meet our new standard :
1893                         Codec/Encoder|Decoder/Audio|Video
1894                 suggested by bilboed, approved by Company
1895
1896 2004-05-04  Thomas Vander Stichele  <thomas at apestaart dot org>
1897
1898         * gst-libs/ext/ffmpeg/autogen.sh:
1899         * gst-libs/ext/ffmpeg/patches/autotools.patch:
1900           require am17 since AM_CONDITIONAL's are being done using variables
1901           which doesn't work with am16
1902
1903 2004-04-30  Thomas Vander Stichele  <thomas at apestaart dot org>
1904
1905         * ext/ffmpeg/gstffmpegcolorspace.c: (gst_ffmpegcsp_getcaps):
1906           revert previous patch
1907
1908 2004-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
1909
1910         * ext/ffmpeg/gstffmpegcolorspace.c: (gst_ffmpegcsp_getcaps):
1911           use GST_PAD_CAPS if they exist so we don't renegotiate needlessly
1912
1913 2004-04-22  Ronald Bultje  <rbultje@ronald.bitfreak.net>
1914
1915         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
1916         (gst_ffmpeg_caps_with_codecid), (gst_ffmpeg_caps_to_codecid):
1917           WAV/IMA-ADPCM -> DVI ADPCM.
1918
1919 2004-04-22  Benjamin Otte  <otte@gnome.org>
1920
1921         * ext/ffmpeg/gstffmpegcolorspace.c:
1922         (gst_ffmpegcsp_caps_remove_format_info):
1923           use gst_caps_do_simplify
1924
1925 2004-04-19  Benjamin Otte  <otte@gnome.org>
1926
1927         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_type_find):
1928           reduce maximum probability in typefinding to POSSIBLE. prevents
1929           misidentification of my mp3s as video/mpeg
1930
1931 2004-04-15  Ronald Bultje  <rbultje@ronald.bitfreak.net>
1932
1933         * ext/ffmpeg/gstffmpegcolorspace.c: (gst_ffmpegcsp_chain):
1934           NULL -> (NULL) inside GST_ELEMENT_ERROR().
1935
1936 2004-04-15  Ronald Bultje  <rbultje@ronald.bitfreak.net>
1937
1938         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_get_palette),
1939         (gst_ffmpeg_set_palette), (gst_ffmpeg_codecid_to_caps),
1940         (gst_ffmpeg_pixfmt_to_caps), (gst_ffmpeg_caps_to_smpfmt),
1941         (gst_ffmpeg_caps_to_pixfmt), (gst_ffmpeg_caps_with_codectype),
1942         (gst_ffmpeg_caps_with_codecid), (gst_ffmpeg_caps_to_codecid):
1943         * ext/ffmpeg/gstffmpegcodecmap.h:
1944           Change some function names to reflect that they don't really
1945           _return_ something, but rather _use_ something to fill a
1946           AVCodecContext. s/to/with/. Restructure the extradata handling,
1947           it's now not picking up the type from the caps but rather
1948           using the type as provided in the function. This is a lot
1949           cleaner. Implement MS RLE palette pickup.
1950         * ext/ffmpeg/gstffmpegcolorspace.c: (gst_ffmpegcsp_pad_link):
1951         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_connect):
1952           Sync with the above function name changes.
1953         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_close),
1954         (gst_ffmpegdec_open), (gst_ffmpegdec_connect),
1955         (gst_ffmpegdec_chain), (gst_ffmpegdec_change_state):
1956           Add some hacks to convert palette-based raw image formats to
1957           RGBA32. Ugly, but I don't know how else to handle palette-based
1958           RGB, since img_convert() (and thus ffcolorspace) doesn't accept
1959           a palette as argument.
1960
1961 2004-04-14  Thomas Vander Stichele  <thomas at apestaart dot org>
1962
1963         * everything: updated upstream source to 2004-04-11 23:00 GMT
1964           and fixed up patches
1965
1966 2004-04-11  Ronald Bultje  <rbultje@ronald.bitfreak.net>
1967
1968         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps):
1969           Add MS Video v1 (video/x-msvideocodec, CODEC_ID_MSVIDEO1).
1970
1971 2004-04-08  David Schleef  <ds@schleef.org>
1972
1973         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps):
1974         Change variadic macro to ISO form.  (bug #139460)
1975
1976 2004-04-06  Benjamin Otte  <otte@gnome.org>
1977
1978         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_register):
1979         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):
1980           fix memleaks
1981
1982 2004-04-05  Benjamin Otte  <otte@gnome.org>
1983
1984         * configure.ac:
1985           fix --export-symblos-regex to a working regex.
1986
1987 2004-04-03  Tim-Philipp Müller <t.i.m@zen.co.uk>
1988
1989         reviewed by: David Schleef  <ds@schleef.org>
1990
1991         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):  Fix
1992         memleaks (bug #138985)
1993
1994 2004-03-29  Thomas Vander Stichele  <thomas at apestaart dot org>
1995
1996         * ext/ffmpeg/*.c: indent
1997
1998 2004-03-25  Ronald Bultje  <rbultje@ronald.bitfreak.net>
1999
2000         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_base_init):
2001         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_base_init):
2002           Fix category.
2003         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_class_init),
2004         (gst_ffmpegdemux_init), (gst_ffmpegdemux_close):
2005           Slightly rewrite the init function, old one was ugly. Also remove
2006           dispose function since it's obsolete, the change_state function
2007           cleans up already. Also fixes segfault in test-app
2008           gstreamer/tests/instantiate/create
2009
2010 2004-03-24  Benjamin Otte  <otte@gnome.org>
2011
2012         * configure.ac:
2013           only export gst* symbols
2014         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain):
2015           change g_warning to debugging message, that wasn't a programming
2016           error
2017
2018 2004-03-18  Thomas Vander Stichele  <thomas at apestaart dot org>
2019
2020         * ext/ffmpeg/gstffmpegcolorspace.c: (gst_ffmpegcsp_chain):
2021           don't critical, throw error (#137588)
2022
2023 2004-03-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2024
2025         * configure.ac: bump nano to 1
2026
2027 === gst-ffmpeg 0.8.0 ===
2028
2029 2004-03-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2030
2031         * configure.ac: release 0.8.0, "In Buildings"
2032
2033 2004-03-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2034
2035         * gst-libs/ext/ffmpeg/.pc/cvsignore/doc/.cvsignore:
2036         * gst-libs/ext/ffmpeg/.pc/cvsignore/libavcodec/i386/.cvsignore:
2037         * gst-libs/ext/ffmpeg/configure:
2038         * gst-libs/ext/ffmpeg/libavformat/matroska.c: (ebml_read_float):
2039         * gst-libs/ext/ffmpeg/patches/matroska.patch:
2040           patch from Ronald to work on ppc
2041
2042 2004-03-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2043
2044         * ext/ffmpeg/gstffmpegcolorspace.c: (gst_ffmpegcsp_get_type):
2045           fix name of static to be in line with code
2046
2047 2004-03-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2048
2049         * configure.ac:
2050           don't set ACLOCAL_FLAGS !
2051         * gst-libs/ext/ffmpeg/.cvsignore:
2052         * gst-libs/ext/ffmpeg/patches/cvsignore.patch:
2053           trying to add configure to be ignored
2054
2055 2004-03-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2056
2057         reviewed by: <delete if not using a buddy>
2058
2059         * gst-libs/ext/ffmpeg/.cvsignore:
2060         * gst-libs/ext/ffmpeg/patches/cvsignore.patch:
2061
2062 2004-03-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2063
2064         * gst-libs/ext/ffmpeg/m4/vorbis.m4:
2065         * gst-libs/ext/ffmpeg/patches/autotools.patch:
2066           adding vorbis.m4
2067
2068 2004-03-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2069
2070         * gst-libs/ext/ffmpeg/m4/ogg.m4:
2071         * gst-libs/ext/ffmpeg/patches/autotools.patch:
2072         * gst-libs/ext/ffmpeg/patches/no-imlib.patch:
2073           adding ogg.m4
2074
2075 2004-03-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2076
2077         * gst-libs/ext/ffmpeg/patches/autotools.patch:
2078         * gst-libs/ext/ffmpeg/.pc/no-imlib/configure.ac:
2079         * gst-libs/ext/ffmpeg/autogen.sh:
2080           fix aclocal invocation to include m4 dir
2081         * gst-libs/ext/ffmpeg/configure.ac:
2082           add line to fix maintainer mode with aclocal 
2083
2084 2004-03-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2085
2086         * gst-libs/ext/ffmpeg/m4/imlib.m4:
2087         * gst-libs/ext/ffmpeg/m4/sdl.m4:
2088         * gst-libs/ext/ffmpeg/m4/freetype2.m4:
2089         * gst-libs/ext/ffmpeg/patches/autotools.patch:
2090           fix underquotedness, add freetype2.m4
2091
2092 2004-03-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2093
2094         * gst-libs/ext/ffmpeg/patches/autotools.patch:
2095           put in sdl.m4 and imlib.m4
2096
2097 2004-03-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2098
2099         * gst-libs/ext/ffmpeg/.pc/autotools/.pc:
2100         * gst-libs/ext/ffmpeg/.pc/no-imlib/configure.ac:
2101         * gst-libs/ext/ffmpeg/.pc/noinst-programs/Makefile.am:
2102         * gst-libs/ext/ffmpeg/autogen.sh:
2103         * gst-libs/ext/ffmpeg/configure:
2104         * gst-libs/ext/ffmpeg/configure.ac:
2105         * gst-libs/ext/ffmpeg/doc/.cvsignore:
2106         * gst-libs/ext/ffmpeg/libavcodec/i386/.cvsignore:
2107         * gst-libs/ext/ffmpeg/patches/autotools.patch:
2108         * gst-libs/ext/ffmpeg/patches/no-imlib.patch:
2109           fixing Makefile.am omission in autotools patch
2110           fix noinst-programs.patch
2111
2112 2004-03-14  Ronald Bultje  <rbultje@ronald.bitfreak.net>
2113
2114         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps):
2115         * ext/ffmpeg/gstffmpegcodecmap.h:
2116         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain),
2117         (gst_ffmpegdec_register):
2118         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_add),
2119         (gst_ffmpegdemux_register):
2120         * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_connect),
2121         (gst_ffmpegenc_register):
2122         * ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_register):
2123           Add encode property to codec mapper, so we can get better-fitting
2124           caps. Also use this everywhere. ;). Lastly, add some new codecIDs
2125           to our list of recognized ones.
2126
2127 2004-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
2128
2129         * gst-libs/ext/ffmpeg/.pc/applied-patches:
2130         * gst-libs/ext/ffmpeg/.pc/noinst-programs/.pc:
2131         * gst-libs/ext/ffmpeg/.pc/noinst-programs/Makefile.am:
2132         * gst-libs/ext/ffmpeg/Makefile.am:
2133         * gst-libs/ext/ffmpeg/patches/series:
2134           add patch to not install programs
2135
2136 2004-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
2137
2138         * gst-libs/ext/ffmpeg/.pc/no-imlib/configure.ac:
2139         * gst-libs/ext/ffmpeg/.pc/autotools/.pc:
2140         * gst-libs/ext/ffmpeg/autogen.sh:
2141         * gst-libs/ext/ffmpeg/configure.ac:
2142           added m4 dir to autotools patch to fix imlib and sdl warnings
2143
2144 2004-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
2145
2146         * gst-libs/ext/ffmpeg/.pc/no-imlib/configure.ac:
2147         * gst-libs/ext/ffmpeg/configure.ac:
2148         * gst-libs/ext/ffmpeg/patches/series:
2149           add patch to remove imlib completely
2150
2151 2004-03-11  Thomas Vander Stichele  <thomas at apestaart dot org>
2152
2153         * configure.ac: use new setup with mirrored cvs tree
2154
2155 2004-03-10  David Schleef  <ds@schleef.org>
2156
2157         * gst-libs/ext/ffmpeg/patch/asm.diff:  Add a patch that
2158         decreases register usage.  (bug #136658)
2159
2160 2004-03-10  David Schleef  <ds@schleef.org>
2161
2162         * configure.ac: bump gstreamer API number to 0.8
2163
2164 2004-03-09  Ronald Bultje  <rbultje@ronald.bitfreak.net>
2165
2166         * ext/ffmpeg/Makefile.am:
2167           Prevent more symbol conflicts...
2168         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_register):
2169           Up priority/rank for MPEG-4 decoder. Reason is simple: it's well-
2170           tested and by far outperforms xviddec/divxdec. They'll get some
2171           other, slightly lower, rank.
2172         * gst-libs/ext/ffmpeg/patch/autotools.diff:
2173           Tweaking...
2174         * gst-libs/ext/ffmpeg/patch/disableinstalllibs.diff:
2175           Prevent more symbol conflicts. I changed this (to pass 'make
2176           distcheck') in the one patch, so need to change it here too.
2177         * gst-libs/ext/ffmpeg/patch/disablemmx.diff:
2178           Re-enable MMX. :).
2179         * gst-libs/ext/ffmpeg/patch/functions.diff:
2180           Bla.
2181
2182 2004-03-09  Ronald Bultje  <rbultje@ronald.bitfreak.net>
2183
2184         * configure.ac:
2185           Patch properly. Update version.
2186         * gst-libs/ext/ffmpeg/Makefile.am:
2187           Comment out patching - all handled by configure.
2188         * gst-libs/ext/ffmpeg/Tag:
2189           Update version.
2190         * gst-libs/ext/ffmpeg/patch/autotools.diff:
2191           Some small updates to improve compiling.
2192         * gst-libs/ext/ffmpeg/patch/functions.diff:
2193           Update date.
2194         * gst-libs/ext/ffmpeg/patch/matroska.diff:
2195           Newer patch - see ffmpeg-devel mailinglists.
2196         * gst-libs/ext/ffmpeg/patch/function.patch:
2197           Remove old cruft.
2198         * gst-libs/ext/ffmpeg/patch/disabletools.diff:
2199           Now handled by --disable-... in configure.
2200
2201 2004-03-07  David Schleef  <ds@schleef.org>
2202
2203         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps):
2204         Add cinepak format.  (bug #136470)
2205
2206 2004-03-05  David Schleef  <ds@schleef.org>
2207
2208         * configure.ac:  Call ffmpeg's configure with --disable-v4l,
2209         --disable-oss-audio, --disable-dv1394 (bug #127873)
2210
2211 2004-03-04  Ronald Bultje  <rbultje@ronald.bitfreak.net>
2212
2213         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_formatid_to_caps):
2214           Fix quicktime type recognition in ffmpeg. We returned a bogus
2215           caps, which caused ffdemux_quicktime to be chosen over qtdemux.
2216           This fixes that.
2217
2218 2004-03-04  Ronald Bultje  <rbultje@ronald.bitfreak.net>
2219
2220         * configure.ac:
2221           Brackets cause autoconf errors. So remove them.
2222         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_add):
2223           Actually use the event/convert/query functions. D'oh.
2224
2225 2004-03-02  Ronald Bultje  <rbultje@ronald.bitfreak.net>
2226
2227         * configure.ac:
2228         * gst-libs/ext/ffmpeg/Makefile.am:
2229           Slightly change the way we set this up. Ugly, but now it works
2230           again. This baby is looking for a proper fix.
2231         * gst-libs/ext/ffmpeg/Tag:
2232           Apparently CVS and me disagree on the tag... Ohwell, CVS wins.
2233         * gst-libs/ext/ffmpeg/patch/autotools.diff:
2234         * gst-libs/ext/ffmpeg/patch/disableinstalllibs.diff:
2235           Slight nag on a link between lavf/lavc in ffmpeg. Not really
2236           important for us since the code is the same in the end, but this
2237           is actually correct from a per-patch point-of-view...
2238
2239 2004-03-02  Ronald Bultje  <rbultje@ronald.bitfreak.net>
2240
2241         * gst-libs/ext/ffmpeg/Makefile.am:
2242           Fix patching.
2243
2244 2004-03-01  Ronald Bultje  <rbultje@ronald.bitfreak.net>
2245
2246         * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_connect):
2247           Fix B-frame DivX5/XviD display by removing the truncated flag when
2248           not needed.
2249         * gst-libs/ext/ffmpeg/patch/autotools.diff:
2250           Remove link to libavcodec - it causes symbol conflicts (why?).
2251
2252 2004-02-29  Ronald Bultje  <rbultje@ronald.bitfreak.net>
2253
2254         * HACKING:
2255           Add some basic documentation on how our wrapping works.
2256         * TODO:
2257           Add a list of things that could be worked on or that need doing.
2258         * configure.ac:
2259           Update snapshot.
2260         * ext/ffmpeg/Makefile.am:
2261           Changne .la links. See below (autotools patch).
2262         * ext/ffmpeg/gstffmpeg.c: (plugin_init):
2263           Enable demuxers. See below (gstffmpegdemux.c).
2264         * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_formatid_to_caps):
2265           Realmedia caused a crash - fix that.
2266         * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_averror),
2267         (gst_ffmpegdemux_base_init), (gst_ffmpegdemux_init),
2268         (gst_ffmpegdemux_close), (gst_ffmpegdemux_dispose),
2269         (gst_ffmpegdemux_stream_from_pad),
2270         (gst_ffmpegdemux_src_event_mask), (gst_ffmpegdemux_src_event),
2271         (gst_ffmpegdemux_src_format_list),
2272         (gst_ffmpegdemux_src_query_list), (gst_ffmpegdemux_src_query),
2273         (gst_ffmpegdemux_src_convert), (gst_ffmpegdemux_add),
2274         (gst_ffmpegdemux_open), (gst_ffmpegdemux_loop),
2275         (gst_ffmpegdemux_change_state), (gst_ffmpegdemux_register):
2276           Right. OK, so I fixed up the demuxing and have it basically-working,
2277           and the best way to get some more people to test it is to actually
2278           enable it. I'm not sure if we want this for 0.8.0, but we can at
2279           least give it a try. I've tested avi, matroska and mpeg, all appear
2280           to work. The cool thing is that this gives us instant support for
2281           several exotic formats that we'd never care about ourselves. Again,
2282           this needs more testing for it to still be enabled in 0.8.0, but I
2283           want to give it a try...
2284         * ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_base_init),
2285         (gst_ffmpegmux_init), (gst_ffmpegmux_request_new_pad),
2286         (gst_ffmpegmux_connect), (gst_ffmpegmux_loop),
2287         (gst_ffmpegmux_register):
2288           Add some fixups that I use locally. Make it work in the case of
2289           MPEG encoding, but the muxer is still not in shape to be enabled.
2290         * ext/ffmpeg/gstffmpegprotocol.c: (gst_ffmpegdata_open),
2291         (gst_ffmpegdata_read), (gst_ffmpegdata_write),
2292         (gst_ffmpegdata_seek), (gst_ffmpegdata_close):
2293           Some small fixups that crept into it while it was disabled for the
2294           last few years. Basically works.
2295         * gst-libs/ext/ffmpeg/Makefile.am:
2296           Instead of having our local-autotoolized version, I patch the ffmpeg
2297           source to be fully autotoolized. That means a simple SUBDIRS here
2298           is now enough.
2299         * gst-libs/ext/ffmpeg/Tag:
2300           Version update.
2301         * gst-libs/ext/ffmpeg/patch/autotools.diff:
2302           Autotoolize ffmpeg. Needs to be sent to ffmpeg-devel@...
2303         * gst-libs/ext/ffmpeg/patch/disableinstalllibs.diff:
2304           Don't install their libs.
2305         * gst-libs/ext/ffmpeg/patch/disablemmx.diff:
2306           Don't use MMX. It cannot ocmpile using PIC.
2307         * gst-libs/ext/ffmpeg/patch/disabletools.diff:
2308           Don't compile/install their tools, we don't use them.
2309         * gst-libs/ext/ffmpeg/patch/functions.diff:
2310           Prevent symbol conflicts.
2311         * gst-libs/ext/ffmpeg/patch/matroska.diff:
2312           Add a matroska demuxer. Needs to be sent to ffmpeg-devel@...
2313
2314 2004-02-26  Thomas Vander Stichele  <thomas at apestaart dot org>
2315
2316         * configure.ac: releasing 0.7.1 "True Colors"
2317
2318 2004-02-14  Thomas Vander Stichele  <thomas at apestaart dot org>
2319
2320         * gst-ffmpeg.spec.in: fix spec file
2321
2322 2004-02-14 Christian Schaller <Uraeus@gnome.org>
2323
2324         * gst-ffmpeg.spec.in: add spec file
2325
2326 2004-02-13  Thomas Vander Stichele  <thomas at apestaart dot org>
2327
2328         * creation
2329
2330