=== release 0.8.10 === 2005-07-01 Thomas Vander Stichele * configure.ac: releasing 0.8.10, "Jangle" 2005-06-30 Ronald S. Bultje * gconf/gstreamer.schemas.in: * gst-libs/gst/gconf/gconf.c: (gst_gconf_get_default_video_sink): Revert earlier commit defaulting to autovideosink because the sync-state bug is still there, breaking Totem. 2005-06-30 Thomas Klausner Reviewed by: Ronald S. Bultje * gst/wavparse/gstwavparse.c: (gst_wavparse_fmt): Fix for division by zero, error out instead (#309043). 2005-06-30 Ronald S. Bultje * ext/libfame/gstlibfame.c: (gst_fameenc_class_init): Memleak fix (#309005). 2005-06-24 Thomas Vander Stichele * ext/ogg/README: * ext/ogg/gstoggmux.c: (gst_ogg_mux_class_init), (gst_ogg_mux_pad_link), (gst_ogg_mux_request_new_pad), (gst_ogg_mux_release_request_pad), (gst_ogg_mux_next_buffer), (gst_ogg_mux_buffer_from_page), (gst_ogg_mux_push_buffer), (gst_ogg_mux_dequeue_page), (gst_ogg_mux_pad_queue_page), (gst_ogg_mux_compare_pads), (gst_ogg_mux_get_headers), (gst_ogg_mux_send_headers), (gst_ogg_mux_loop): rework the muxing algorithm. mux pages based on the timestamp that matches the granulepos of that page, which is also the granulepos/timestamp of the last packet that finishes on that page. rework logging so it's more readable and comparable to oggzdump. I can't get oggz-validate to complain anymore now. 2005-06-24 Thomas Vander Stichele * ext/theora/theoraenc.c: (_ilog), (gst_theora_enc_init), (theora_enc_sink_link), (theora_buffer_from_packet), (theora_enc_change_state): convert the timestamp that matches the granulepos to an integer multiple of the granulepos delta, otherwise muxing can screw up 2005-06-24 Zaheer Abbas Merali * ext/libpng/gstpngdec.c: fix stupid caps, pngdec decodes to RGB not BGR 2005-06-24 Thomas Vander Stichele * ext/vorbis/vorbisenc.c: (gst_vorbisenc_buffer_from_packet), (gst_vorbisenc_push_packet), (gst_vorbisenc_chain): vorbis doesn't actually count packets, so there's no point in checking the packetno. Pass whether or not it's a header to the actual function. * gst/sine/gstsinesrc.c: (gst_sinesrc_class_init), (gst_sinesrc_init), (gst_sinesrc_get), (gst_sinesrc_set_property), (gst_sinesrc_get_property), (gst_sinesrc_change_state): * gst/sine/gstsinesrc.h: API addition: add num-buffers and timestamp-offset properties. 2005-06-23 Tim-Philipp Müller * gst/audiorate/gstaudiorate.c: (gst_audiorate_chain_handle_event): Make gcc4 happy. 2005-06-23 Antoine Tremblay Reviewed by: Tim-Philipp Müller * gst/auparse/gstauparse.c: (gst_auparse_chain): Don't leak caps (#308794). 2005-06-23 Tim-Philipp Müller * gst/audioscale/gstaudioscale.c: (gst_audioscale_get_buffer), (gst_audioscale_chain): * gst/audioscale/gstaudioscale.h: Fix discont handling: if we get a discont before negotiation has taken place, save it and process it later before processing any buffers (ugly, but makes things work); also, create new discont event to send downstream, otherwise downstream elements might get a discont with a sample offset refering to our input rate. 2005-06-22 Tim-Philipp Müller * gst/audiorate/gstaudiorate.c: (gst_audiorate_class_init), (gst_audiorate_chain_handle_event), (gst_audiorate_chain), (gst_audiorate_set_property), (gst_audiorate_get_property), (gst_audiorate_change_state): Add 'start-offset' property and add/fix discont event handling. 2005-06-22 Michael Benes Reviewed by: Tim-Philipp Müller * gst/matroska/matroska-demux.c: (gst_matroska_demux_add_stream): Initialize the video context properly, so we don't get random aspect ratios when no aspect ratio is set (#308644). 2005-06-21 Thomas Vander Stichele * ext/theora/theoraenc.c: (_ilog), (gst_theora_enc_init), (theora_enc_sink_link), (theora_buffer_from_packet): fix granulepos bug from #305231 2005-06-21 Thomas Vander Stichele * gst/videotestsrc/gstvideotestsrc.c: (gst_videotestsrc_class_init), (gst_videotestsrc_set_property), API addition: add timestamp-offset property. 2005-06-19 Ronald S. Bultje * ext/mpeg2dec/gstmpeg2dec.c: (gst_mpeg2dec_alloc_buffer): Fix overflows. * gst/avi/gstavidemux.c: (gst_avi_demux_process_next_entry): More debug. 2005-06-20 Jan Schmidt * ext/alsa/gstalsa.c: (gst_alsa_set_default_format): * ext/alsa/gstalsa.h: * ext/alsa/gstalsasink.c: (gst_alsa_sink_check_event): Simplistically attempt to pick a default format for filling with silence if we receive a FILLER event before the caps are negotiated. 2005-06-19 Paolo Borelli Reviewed by: Luca Ognibene * gst/playback/gstplaybasebin.c (gst_play_base_bin_class_init) (gst_play_base_bin_finalize): Fix two memory leaks (a gmutex and a gcond) and implement finalize instead of dispose. fixes #307606 2005-06-16 Tim-Philipp Müller * ext/cdio/cddasrc.c: (cddasrc_open), (cddasrc_change_state): Output more debug info. 2005-06-15 David Schleef * gst/videotestsrc/videotestsrc.c: (paint_hline_I420): Fix I420 painting that ends in an odd column (bug #300471) 2005-06-15 Tim-Philipp Müller * ext/cdio/cddasrc.c: (cddasrc_uri_set_uri): Default to cdda://1 when called with empty URI (cdda://) like when called from gst_element_make_from_uri(). We need to return TRUE in the set_uri() function if we can handle the protocol but don't know whether the track number is valid yet. (fixes #307804) 2005-06-15 David Schleef * gst/videoscale/gstvideoscale.c: Add 24-bit and 15-bit RGB * gst/videoscale/vs_image.c: * gst/videoscale/vs_image.h: * gst/videoscale/vs_scanline.c: * gst/videoscale/vs_scanline.h: 2005-06-15 Martin Soto * gst/mpegstream/gstdvddemux.c (gst_dvd_demux_handle_dvd_event): Only process events with the right MIME type. (gst_dvd_demux_get_audio_stream): Stream objects were being reallocated, but the (potentially new) pointer wasn't being stored in the array again. Make sure to always store the pointer after reallocation. Fixes a segmentation fault when playing DVDs with LPCM sound. (gst_dvd_demux_plugin_init): Rename element for local use. 2005-06-15 Jan Schmidt * ext/dvdnav/Makefile.am: * ext/dvdnav/dvdnavsrc.c: (dvdnavsrc_init), (dvdnavsrc_finalize), (read_vts_info), (dvdnav_build_titlelang_event), (dvdnavsrc_loop), (dvdnavsrc_change_state): Read VTS info using libdvdread, and use to send the stream info event on each VTS change. Don't gst_element_wait, rely on queues for that. 2005-06-14 Luca Ognibene * gst/videorate/gstvideorate.c (gst_videorate_link): Fix memory leak 2005-06-13 Wim Taymans * gst/tcp/gstmultifdsink.c: (gst_multifdsink_remove_client_link): Avoid potential deadlock because we do not release the lock when we emit a signal. 2005-06-13 Tim-Philipp Müller * NEWS: Add 'new plugin: cddasrc' line to 0.8.9 notes. 2005-06-13 James Henstridge Reviewed by: Ronald S. Bultje * ext/cdparanoia/gstcdparanoia.c: (cdparanoia_event): Off-by-one in illogical counting (part of our ABI...), #307459. 2005-06-12 Jeroen Zwartepoorte Reviewed by: Ronald S. Bultje * ext/cairo/gsttextoverlay.c: (gst_textoverlay_render_text): Remove guchar * cast. This makes gst-plugins compile with gcc4. 2005-06-12 Ronald S. Bultje * ext/amrnb/amrnbparse.c: (gst_amrnbparse_loop): Fix header (which apparently accidently worked in the previous version, even though we forgot to skip one byte). 2005-06-11 Tim-Philipp Müller * configure.ac: Require cairo 0.5.x * ext/cairo/gstcairo.c: Change plugin name to 'cairo' - 'timeoverlay' doesn't make much sense and conflicts with the pango timeoverlay plugin. * ext/cairo/gsttextoverlay.c: (gst_cairotextoverlay_get_type), (gst_textoverlay_render_text), (gst_textoverlay_loop), (gst_textoverlay_font_init), (gst_textoverlay_finalize), (gst_textoverlay_init), (gst_textoverlay_set_property): * ext/cairo/gsttextoverlay.h: * ext/cairo/gsttimeoverlay.c: (gst_cairotimeoverlay_get_type), (gst_timeoverlay_class_init), (gst_timeoverlay_setup), (gst_timeoverlay_planar411): * ext/cairo/gsttimeoverlay.h: Make compile and somewhat work with cairo 0.5. The textoverlay plugin is bitrotten and/or unfinished though and needs more work (text positioning, invalid memory access, parse font-desc property properly). 2005-06-10 Ronald S. Bultje * gst/playback/gstplaybasebin.c: (gst_play_base_bin_change_state): Crap, double free. 2005-06-10 Ronald S. Bultje * gst/playback/gstplaybasebin.c: (setup_source), (prepare_output), (gst_play_base_bin_change_state): Mark some more for i18n. 2005-06-10 Ronald S. Bultje * ext/alsa/gstalsa.c: (gst_alsa_open_audio): * gst/playback/gstplaybasebin.c: (prepare_output), (gst_play_base_bin_change_state): * sys/xvimage/xvimagesink.c: (gst_xvimagesink_get_xv_support): Fix some error domains; don't print the URI in playbin errors. 2005-06-09 Ronald S. Bultje * gconf/gstreamer.schemas.in: * gst-libs/gst/gconf/gconf.c: (gst_gconf_get_default_video_sink): Default to autovideosink instead of @DEFAULT_VIDEOSINK@. Autovideosink dynamically selects between ximagesink/xvimagesink, and is thus more userfriendly 2005-06-09 Ronald S. Bultje * ext/mad/gstmad.c: (gst_mad_check_caps_reset), (gst_mad_chain): Update total_samples after new header, since it will affect our timestamps. Fixes #140237. 2005-06-09 Arwed v. Merkatz * gst/matroska/matroska-demux.c: (gst_matroska_demux_parse_blockgroup): Fixed regeneration of wavpack header. 2005-06-09 Arwed v. Merkatz * gst/tta/gstttaparse.c: (gst_tta_src_query): Fixed time query and added position query so totem can display current and total time. 2005-06-09 Arwed v. Merkatz * configure.ac: Check for wavpack library. * ext/wavpack/Makefile.am: * ext/wavpack/bits.c: * ext/wavpack/extra1.c: * ext/wavpack/extra2.c: * ext/wavpack/float.c: * ext/wavpack/gstwavpack.c: (plugin_init): * ext/wavpack/gstwavpackcommon.c: (gst_wavpack_read_header): * ext/wavpack/gstwavpackcommon.h: * ext/wavpack/gstwavpackdec.c: (gst_wavpack_dec_link), (gst_wavpack_dec_wvclink), (gst_wavpack_dec_get_type), (gst_wavpack_dec_base_init), (gst_wavpack_dec_dispose), (gst_wavpack_dec_class_init), (gst_wavpack_dec_src_query), (gst_wavpack_dec_init), (gst_wavpack_dec_setup_context), (gst_wavpack_dec_format_samples), (gst_wavpack_dec_loop), (gst_wavpack_dec_plugin_init): * ext/wavpack/gstwavpackdec.h: * ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_get_type), (gst_wavpack_parse_base_init), (gst_wavpack_parse_dispose), (gst_wavpack_parse_class_init), (gst_wavpack_parse_src_query), (gst_wavpack_parse_src_event), (find_header), (find_sample), (gst_wavpack_parse_seek), (gst_wavpack_parse_init), (gst_wavpack_parse_handle_event), (gst_wavpack_parse_loop), (gst_wavpack_parse_change_state), (gst_wavpack_parse_plugin_init): * ext/wavpack/gstwavpackparse.h: * ext/wavpack/gstwavpackreader.c: * ext/wavpack/gstwavpackreader.h: * ext/wavpack/metadata.c: * ext/wavpack/pack.c: * ext/wavpack/unpack.c: * ext/wavpack/wavpack.h: * ext/wavpack/words.c: * ext/wavpack/wputils.c: Replace wavpack plugin by a new plugin using the wavpack library. Supports playback from non-raw wavpack streams (e.g. matroska files), playback with correction file and float audio. * gst/matroska/matroska-demux.c: (gst_matroska_demux_parse_blockgroup), (gst_matroska_demux_audio_caps), (gst_matroska_demux_plugin_init): * gst/matroska/matroska-ids.h: Support wavpack playback. * gst/typefind/gsttypefindfunctions.c: (wavpack_type_find), (plugin_init): Identify wavpack correction files, support ape-tagged wavpack files. 2005-06-09 Ross Burton Reviewed by: Ronald S. Bultje * ext/cdparanoia/gstcdparanoia.c: (cdparanoia_open), (cdparanoia_change_state): Report device when open failed. Remove warning (#304754). 2005-06-09 Ronald S. Bultje * gst/matroska/matroska-mux.c: (gst_matroska_mux_loop): Some better error reporting instead of just returning. 2005-06-09 Ronald S. Bultje * sys/v4l2/gstv4l2src.c: (gst_v4l2src_get): Don't use bytesused/length of a buffer for GST_BUFFER_SIZE(), since length is the allocated length in the kernel, which may be more, and bytesused is not set by all drivers and may be less if part of the frame was lost. Instead, use the calculated piximage size. Fixes #301718. 2005-06-09 Ronald S. Bultje * gst/adder/gstadder.c: (gst_adder_link): Workaround for multi-mp3 case. Seems to work fine (#305658). Patch based on work from Akos Maroy . 2005-06-09 Ronald S. Bultje * gst/adder/gstadder.c: (gst_adder_link): Remove double loop (probably copy/paste error). 2005-06-09 Ronald S. Bultje * gst/qtdemux/qtdemux.c: (gst_qtdemux_loop_header): Fix EOS handling (#305150). 2005-06-09 Wouter Paesen Reviewed by: Ronald S. Bultje * gst/adder/gstadder.c: (gst_adder_init): Use getcaps function for source pad, too (#301292). 2005-06-09 Ronald S. Bultje * gst/typefind/gsttypefindfunctions.c: (au_type_find), (plugin_init): Make audio/x-au its own typefind function because it has more than one incarnation. Should fix memleak in #306938. 2005-06-09 Jan de Groot Reviewed by: Ronald S. Bultje * ext/xvid/gstxvid.c: (gst_xvid_init): Make struct static, xvid crashes internally otherwise (#306641). 2005-06-09 Ronald S. Bultje * gst/asfdemux/gstasfdemux.c: (gst_asf_demux_process_chunk): Cap framerate; should fix negotiation issues for some ASF files. 2005-06-09 Ronald S. Bultje * gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps_with_data), (gst_riff_create_video_template_caps): Add Microsoft ISO MPEG-4 1.1 (M4S2; #306659). 2005-06-09 Ronald S. Bultje * gst/qtdemux/qtdemux.c: (qtdemux_parse_trak), (qtdemux_video_caps): Fix up SVQ3 caps (to fix frame order problems; #306530). 2005-06-08 Thomas Vander Stichele * ext/faad/gstfaad.c: (gst_faad_sinkconnect), (gst_faad_chain): I don't understand how this got unnoticed for so long - did the faad API change or something ? also, we're getting samplerate and channels in the first call, but not actually *doing* anything with that. Sigh. * ext/libmng/gstmngdec.c: switch from 0.0 to 1.0 minimum framerate, even though that's *stupid* because we want to use mngdec for things that happen less than once a second, but it's the only way to have somewhat acceptable negotiation. * ext/theora/theoraenc.c: (theora_enc_chain): add a debug message. 2005-06-08 Ronald S. Bultje * gst/playback/gstplaybasebin.c: (gen_preroll_element): Set max. buffer size depending on media type (larger for video than for others). 2005-06-08 Arwed v. Merkatz * gst/matroska/matroska-demux.c: (gst_matroska_demux_video_caps), (gst_matroska_demux_plugin_init): * gst/matroska/matroska-ids.h: Support playback of H264 video in matroska. 2005-06-08 Ronald S. Bultje * gst/qtdemux/qtdemux.c: (qtdemux_audio_caps): Fix distortion in 8-bit audio tracks (#306680). 2005-06-07 David Schleef * sys/glsink/glimagesink.c: (gst_glimagesink_getcaps), (gst_glimagesink_init_display), (gst_glimagesink_chain): Make MESA extensions dependent on having MESA. (fixes #306660) 2005-06-06 Benjamin Otte * gst-libs/gst/audio/multichannel.c: (gst_audio_set_structure_channel_positions_list): revert my patch from 2005-06-01. I confused arrays and lists. 2005-06-03 Ronald S. Bultje * ext/cdparanoia/gstcdparanoia.c: (set_track), (cdparanoia_event): Unbreak soundjuicer (tested gnome-cd, sound-juicer and totem, all work fine after these changes). 2005-06-03 Ronald S. Bultje * gst/qtdemux/qtdemux.c: (qtdemux_parse_trak): Add codecdata on avc1 (h264). 2005-06-03 Ronald S. Bultje * gst/videoscale/gstvideoscale.c: (gst_videoscale_chain): Let's not break planar YUV by allocating only the Y plane. 2005-06-03 Ronald S. Bultje * sys/ximage/ximagesrc.c: (gst_ximagesrc_getcaps), (gst_ximagesrc_change_state), (gst_ximagesrc_init), (gst_ximagesrc_get_property), (gst_ximagesrc_base_init), (gst_ximagesrc_class_init): Some extra checks, move display initialization to state change function, proper error reporting if no $DISPLAY is available. 2005-06-03 Ronald S. Bultje * ext/audiofile/gstafparse.c: (gst_afparse_class_init), (gst_afparse_init), (gst_afparse_finalize): Portability fix for non-exported function (#305435). 2005-06-02 Tim-Philipp Müller * gst/audiorate/gstaudiorate.c: (gst_audiorate_chain): Fix copy'n'past-o from previous commit and actually set in_duration where we want to calculate in_duration. Make "in" and "out" properties return the number of samples (as advertised) instead of the number of buffers. 2005-06-02 Tim-Philipp Müller * gst/audiorate/gstaudiorate.c: (gst_audiorate_link), (gst_audiorate_init), (gst_audiorate_chain): Make case of overlapping buffers work (a sub buffer with a greater-than-zero offset cannot have the same length as the input buffer); also, calculate offset fields from timestamp/duration and vice versa when those fields are not set (we later assume they are all set and valid, so we better set them to something sane instead of doing calculations with random input values). (also fixes #305428) 2005-06-02 Stefan Kost * ext/faad/gstfaad.c: (gst_faad_sinkconnect), (gst_faad_chain): if faad wants params in exact bit-width, then deliver them as such 2005-06-01 Benjamin Otte * gst-libs/gst/audio/multichannel.c: (gst_audio_set_structure_channel_positions_list): It might help if you want to blame caps for slowness to add the same channel positions n times, but it's not really useful. And now the core warns about it too, that bastard. * gst/typefind/gsttypefindfunctions.c: (plugin_init): Detect midi files. 2005-05-29 David Schleef * sys/glsink/glimagesink.c: (plugin_init): Change rank from PRIMARY+1 to SECONDARY (oops!) 2005-05-28 David Schleef * gst/videoscale/Makefile.am: * gst/videoscale/gstvideoscale.c: * gst/videoscale/gstvideoscale.h: * gst/videoscale/videoscale.c: * gst/videoscale/videoscale.h: * gst/videoscale/videoscale_x86.c: * gst/videoscale/videoscale_x86.h: * gst/videoscale/videoscale_x86_asm.s: * gst/videoscale/vs_image.c: * gst/videoscale/vs_image.h: * gst/videoscale/vs_scanline.c: * gst/videoscale/vs_scanline.h: Some days, you just get the urge to rewrite a bunch of code. Today, it was writing new image scaling code that is liboil compatible (although not liboilified yet), and does both nearest and bilinear scaling. 2005-05-26 Arwed v. Merkatz * ext/spc/Makefile.am: add the .Asm file to SOURCES so they're included in 'make dist' 2005-05-25 Thomas Vander Stichele * configure.ac: back to HEAD