=== release 0.8.11 === 2005-09-04 Thomas Vander Stichele * Makefile.am: * NEWS: * RELEASE: * configure.ac: releasing 0.8.11, "... And Thanks For All The Fix" 2005-08-31 Tim-Philipp Müller * configure.ac: Our cairo plugin code seems to be unaffected by the last bunch of cairo API chances and seems to work with any cairo version between 0.5.0 and 1.0.0, so let's adjust our checks accordingly. 2005-08-29 Michael Smith * ext/ogg/Makefile.am: * ext/ogg/gstogg.c: (plugin_init): * ext/ogg/gstoggparse.c: Added ogg parser, 0.8 version 2005-08-27 Thomas Vander Stichele * gst/adder/gstadder.c: (gst_adder_request_new_pad), (gst_adder_release_pad): cosmetics * gst/level/gstlevel.c: (gst_level_chain): push the pad only after doing stuff to it 2005-08-24 Thomas Vander Stichele * gst/adder/gstadder.c: (gst_adder_request_new_pad), (gst_adder_release_pad), (gst_adder_loop): add some debugging. add a warning when not releasing a pad owned by adder. 2005-08-16 Ronald S. Bultje * ext/ogg/gstoggdemux.c: (gst_ogg_pad_push): Don't push empty pages (#313444). 2005-08-16 Ronald S. Bultje * ext/esd/esdsink.c: (gst_esdsink_change_state): Reset on pause->ready (#313600). 2005-08-15 Ronald S. Bultje * ext/esd/esdsink.c: (gst_esdsink_get_time), (gst_esdsink_chain): Basic hacks to make video playback using esdsink not totally make yuou rip your heart out. We write a few samples per cycle, so that the clock will increment in a slightly lineair fashion instead of in large hiccuped steps (which makes video playback in an ok'ish way, compared to how it was), and we take timestamps into account for calculating the clock position, so that _get_time() at least returns a value that will make video playback in sync. Should make Ubuntu users happy (they default to esdsink). 2005-08-14 Ronald S. Bultje * gst/qtdemux/qtdemux.c: (qtdemux_video_caps): That was a nice freudian slip. 2005-08-14 Ronald S. Bultje * gst/qtdemux/qtdemux.c: (qtdemux_parse_trak), (qtdemux_video_caps): Handle quicktime-RLE. 2005-08-13 David Schleef * ext/polyp/polypsink.c: (stream_state_callback), (context_state_callback), (gst_polypsink_link): This compile fix could have been in my checkout for months. Apparently nobody but me builds this. 2005-08-12 Tim-Philipp Müller * ext/jpeg/gstjpegdec.c: (gst_jpegdec_init), (gst_jpeg_dec_decode_indirect), (gst_jpeg_dec_decode_direct), (gst_jpegdec_chain), (gst_jpegdec_change_state): * ext/jpeg/gstjpegdec.h: Fix decoding of pictures with certain uneven or unaligned widths where jpeglib needs more horizontal padding than our I420 buffers provide, resulting in blocky artifacts at the left side of the picture (#164176). 2005-08-11 Tim-Philipp Müller * ext/jpeg/gstjpegdec.c: (gst_jpegdec_chain): Fix crashes/invalid memory access for pictures that have a height that is not a multiple of 16 (or rather: v_samp_factor * DCTSIZE). 2005-08-11 Tim-Philipp Müller * gst/freeze/gstfreeze.c: (gst_freeze_loop): Fix invalid memory access: GST_IS_BUFFER() can't be used on an event that we have already unref'ed. 2005-08-10 Ronald S. Bultje * ext/gdk_pixbuf/gstgdkpixbuf.c: (gst_gdk_pixbuf_chain): Support various image formats (e.g. RGBA). Makes gif images work. * gst/qtdemux/qtdemux.c: (gst_qtdemux_loop_header), (gst_qtdemux_add_stream), (qtdemux_parse_trak): Some workarounds for odd behaviour I found while crawling through apple.com/trailers. For one, if you load single-image (still-image) trailers containing gif images, they will have an infinite framerate since there is no duration. Capping framerate makes negotiation work. Also, some movies don't actually have size markers, since they only contain a single chunk of data (or so? I don't understand quicktime at all, I guess), so throwing the whole binary blob from the offset to end-of-file to the decoder makes at least something display (yes, this actually works :) ). Lastly, for some reason, one redirect URI movies caused an assertion because it read a negative size (immediate return) and tried to flush it (guint, signflip), leading to odd stuff and subsequent crashes. 2005-08-10 Ronald S. Bultje * ext/gnomevfs/gstgnomevfssrc.c: (gst_gnomevfssrc_get): Fix premature EOS. This causes issues when reading ID3v1 tags using gnomevfssrc instead of filesrc; after ID3v1 tag typefinding, the typefind element will EOS rather than send a discont, which makes actual tag-reading in id3demux fail; the result is that the ID3v1 tags are not stripped off the file, which causes an infinite loop of id3demux plugging to the pipeline. 2005-08-10 Thomas Vander Stichele * gst/level/filter.func: comment a little better remove unnecessary casts * gst/level/gstlevel.c: (gst_level_link), (gst_level_chain), (gst_level_class_init), (gst_level_init): * gst/level/gstlevel.h: remove unused MS struct member don't reset the CS values for channels on every _chain, so that level actually correctly calculates the RMS value. sigh. calculate RMS values correctly for peak and decay peak sums; before we were signalling them as if they already were amplitude and not power values. sigh. Remind me to not try and pretend I'm writing DSP code. 2005-08-07 Ronald S. Bultje * gst/playback/gstplaybasebin.c: (setup_source): Assign proper error code and domain, fixes #310020. 2005-08-07 Ronald S. Bultje * ext/gnomevfs/gstgnomevfssrc.c: (gst_gnomevfssrc_open_file): Error code fix backport from HEAD. 2005-08-03 Madhan Raj M Reviewed by: Ronald S. Bultje * ext/flac/gstflacenc.c: (gst_flacenc_class_init): Register musicbrainz tags, since we use them. Based on suggestions from Ross Burton , closes #312272. 2005-08-01 Stefan Kost * gst/volume/gstvolume.c: (gst_volume_dispose): Do not unref the dparam-manager as gst_dpman_get_manager() does not ref it. 2005-08-01 Tim-Philipp Müller * ext/jpeg/gstjpegdec.c: (gst_jpegdec_get_type): * ext/jpeg/gstjpegenc.c: (gst_jpegenc_get_type): First member in GTypeInfo is class size, not instance size. 2005-07-31 Jonathan Matthew Reviewed by: Tim-Philipp Müller * gst/modplug/gstmodplug.cc: Don't crash if a query comes in and we're not set up yet (fixes #312121). 2005-07-28 Tim-Philipp Müller * testsuite/gst-lint: Add check for bad header 2005-07-28 Tim-Philipp Müller * sys/ximage/ximagesrc.c: (gst_ximagesrc_getcaps): In GStreamerville, it's "endianness", not "endianess". * testsuite/gst-lint: Check for occurances of "endianess" (#311777). 2005-07-28 Tim-Philipp Müller * configure.ac: Bump libx264 requirement to a more recent version (my version had x264_nal_encode, but X264_ME_UMH was missing from the header file, among other things) * ext/x264/x264enc.c: Use "_stdint.h" instead of * ext/x264/x264enc.h: * ext/mad/gstid3demuxbin.c: HAVE_CONFIG_G => HAVE_CONFIG_H 2005-07-28 Michael Smith Reviewed by: Ronald S. Bultje * ext/ogg/gstoggmux.c: (gst_ogg_mux_dequeue_page): Make sure pages are always in the right order, even when there is no granulepos on some packets, by using larger lookahead on queues until we find a timestamped packet (#311491). 2005-07-27 Wouter Paesen Reviewed by: Ronald S. Bultje * gst/alpha/gstalpha.c: (gst_alpha_init), (gst_alpha_get_caps), (gst_alpha_sink_link), (gst_alpha_chroma_key_ayuv), (gst_alpha_chroma_key_i420), (gst_alpha_init_params), (gst_alpha_chain): Fix capsnego (#311401). 2005-07-27 Ronald S. Bultje * gst/mpeg1videoparse/gstmp1videoparse.c: (gst_mp1videoparse_base_init), (gst_mp1videoparse_class_init), (gst_mp1videoparse_init), (mp1videoparse_parse_seq), (gst_mp1videoparse_negotiate), (mp1videoparse_parse_ext), (mp1videoparse_read_obj), (mp1videoparse_valid_sync), (mp1videoparse_find_next_gop), (gst_mp1videoparse_real_chain), (gst_mp1videoparse_change_state), (plugin_init): * gst/mpeg1videoparse/gstmp1videoparse.h: Add support for MPEG-2 video (#311600). 2005-07-27 Ronald S. Bultje * ext/x264/x264enc.c: (gst_x264enc_chain): Possibly uninitialized value (#311662). 2005-07-27 Ronald S. Bultje * ext/cdparanoia/gstcdparanoia.c: (cdparanoia_get): More debug. * gst/audioscale/gstaudioscale.c: (gst_audioscale_chain): Process events in passthrough mode, also (fixes #311583). 2005-07-27 Ronald S. Bultje * ext/cdparanoia/gstcdparanoia.c: (cdparanoia_event): Coding without coffee should be forbidden. 1 is a very valid seek range, as opposed to -1. 2005-07-27 Ronald S. Bultje * ext/cdparanoia/gstcdparanoia.c: (cdparanoia_get), (cdparanoia_change_state), (cdparanoia_event): Some extra checking to make sound-juicer more happy. 2005-07-25 Ronald S. Bultje * configure.ac: Check for libGLU for glimagesink (#311487). 2005-07-25 Thomas Vander Stichele * gst/videofilter/Makefile.am: * gst/videofilter/gstgamma.c: (gst_gamma_setup): * gst/videofilter/gstvideobalance.c: (gst_videobalance_setup): * gst/videofilter/gstvideofilter.c: (gst_videofilter_getcaps), (gst_videofilter_link), (gst_videofilter_init), (gst_videofilter_chain), (gst_videofilter_set_property), (gst_videofilter_get_property), (gst_videofilter_setup), (plugin_init): * gst/videofilter/gstvideofilter.h: * gst/videofilter/gstvideoflip.c: (gst_videoflip_init), (gst_videoflip_set_property), (gst_videoflip_get_property), (plugin_init), (gst_videoflip_setup), (gst_videoflip_planar411): make gst_videofilter_setup public make videoflip invoke the base _setup method properly, but only if it's been inited before this handles all cases where properties are set at the start or while running to change the method of flipping 2005-07-24 Thomas Vander Stichele * configure.ac: * gst/videoflip/Makefile.am: * gst/videoflip/gstvideoflip.c: * gst/videoflip/gstvideoflip.h: * gst/videoflip/videoflip.c: * gst/videoflip/videoflip.h: * gst/videoflip/videoflip.vcproj: Dear God. One videoflip element being installed is quite enough, thank you. Three hours of puzzling wasted. 2005-07-24 Ronald S. Bultje * ext/x264/x264enc.c: (gst_x264enc_base_init): Fix category so it displays in Cupid. 2005-07-24 Ronald S. Bultje * configure.ac: * ext/Makefile.am: * ext/x264/Makefile.am: * ext/x264/plugin.c: (plugin_init): * ext/x264/x264enc.c: (gst_x264enc_encoding_get_type), (gst_x264enc_memethod_get_type), (gst_x264enc_log), (gst_x264enc_base_init), (gst_x264enc_class_init), (gst_x264enc_init), (gst_x264enc_getcaps), (gst_x264enc_setcaps), (gst_x264enc_nal), (gst_x264enc_chain), (gst_x264enc_change_state), (gst_x264enc_get_property), (gst_x264enc_set_property): * ext/x264/x264enc.h: Add x264-based h264/AVC encoder. 2005-07-22 Benjamin Otte * sys/v4l2/v4l2src_calls.c: (gst_v4l2src_capture_init), (gst_v4l2src_capture_start), (gst_v4l2src_capture_stop), (gst_v4l2src_capture_deinit): * sys/v4l2/gstv4l2src.c: (gst_v4l2src_getcaps), (gst_v4l2src_get_read), (gst_v4l2src_get_mmap), (gst_v4l2src_get): implement read access. V4l2src will use read access if mmap doesn't work. * sys/v4l2/v4l2_calls.c: (gst_v4l2_get_capabilities), (gst_v4l2_get_norm), (gst_v4l2_set_norm), (gst_v4l2_get_input), (gst_v4l2_set_input), (gst_v4l2_get_output), (gst_v4l2_set_output), (gst_v4l2_get_frequency), (gst_v4l2_set_frequency), (gst_v4l2_signal_strength), (gst_v4l2_get_attribute), (gst_v4l2_set_attribute): don't GST_ELEMENT_ERROR on get/set functions. Fail silently instead, but do output a debugging message 2005-07-22 Ronald S. Bultje * gst-libs/gst/riff/riff-media.c: (gst_riff_create_audio_caps_with_data): * gst/wavparse/gstwavparse.c: (gst_wavparse_loop): Allow 24/32-bpp songs, too, and blockalign samples to the header-specified size (if any). Fixes #311070. 2005-07-22 Tim-Philipp Müller * ext/flac/gstflacdec.c: (gst_flacdec_write), (gst_flacdec_convert_src): * ext/flac/gstflacdec.h: Handle .flac files with 24 and 32 bits per sample (fixes #311162). 2005-07-21 Paolo Borelli Reviewed by: Tim-Philipp Müller * gst/spectrum/demo-osssrc.c: (spectrum_chain), (main): Use 32 for the graph since it's the dimension of the drawing window; use proper buffersize (bytes != samples); connect delete-event to gtk_main_quit. * gst/spectrum/gstspectrum.c: (gst_spectrum_class_init), (gst_spectrum_chain): Specify max. width of 1024 in property param spec; spec_base must be 10 instead of 8, since it's the exponent of the N pased to the FFT (2^10=1024); memcpy the buffer in the mono case (fixes a crash). 2005-07-21 Zaheer Abbas Merali * configure.ac: * sys/ximage/Makefile.am: * sys/ximage/ximagesrc.c: (gst_ximagesrc_ximage_get), (gst_ximagesrc_getcaps), (gst_ximagesrc_free_data_func), (composite_pixel), (gst_ximagesrc_get), (ximagesrc_imagepool_free), (gst_ximagesrc_change_state), (gst_ximagesrc_init), (gst_ximagesrc_set_property), (gst_ximagesrc_get_property), (gst_ximagesrc_finalize), (gst_ximagesrc_class_init): Fix xfixes cursor addition (thanks Luca for patch) Add xdamage support 2005-07-20 Michal Benes Reviewed by: Ronald S. Bultje * gst/matroska/matroska-mux.c: (gst_matroska_mux_audio_pad_link): Add vorbis muxing support (#171563). 2005-07-20 Andy Wingo * gst/videoscale/vs_image.c (vs_image_scale_nearest_YUYV): Typo fix (?), fixes a seggie mcfalterson (#310894). 2005-07-20 Tim-Philipp Müller * gst/spectrum/gstspectrum.c: (gst_spectrum_base_init), (gst_spectrum_class_init), (gst_spectrum_init), (gst_spectrum_set_property), (gst_spectrum_link), (gst_spectrum_chain): * gst/spectrum/gstspectrum.h: Misc. clean-ups; most importantly, add a template to the sink pad, we don't accept any type of data after all. 2005-07-20 Paolo Borelli Reviewed by: Tim-Philipp Müller * gst/spectrum/gstspectrum.c: (gst_spectrum_init), (gst_spectrum_link), (gst_spectrum_chain): * gst/spectrum/gstspectrum.h: Handle mono streams (#311006). 2005-07-16 Arwed v. Merkatz * ext/pango/gsttextrender.c: (gst_text_renderer_bitmap_to_ayuv), (gst_text_render_chain): Renamed gst_text_overlay_blit_yuv420 to gst_text_renderer_bitmap_to_ayuv, removed all code handling actual video overlay and unused parameters, fixes bug #310597. 2005-07-16 Arwed v. Merkatz * gst/imagemixer/mixer.c: (gst_image_mixer_do_mix_i420): Fix chroma plane offsets. 2005-07-16 Ronald S. Bultje * gst/matroska/matroska-demux.c: (gst_matroska_demux_add_stream): Initialize variable to NULL properly. Appears to fix #310335. 2005-07-15 Zaheer Abbas Merali * configure.ac: * sys/ximage/Makefile.am: Use xfixes's .pc file instead of the header check 2005-07-15 Ronald S. Bultje * ext/cdparanoia/gstcdparanoia.c: (cdparanoia_open): Fix #309834, access variable when it is NULL. 2005-07-15 Benjamin Otte * sys/v4l2/v4l2src_calls.c: (gst_v4l2src_capture_deinit): try extra hard to discard queued buffers. Fixes reinit breakage for SAA7134. 2005-07-14 Zaheer Abbas Merali * sys/ximage/ximagesrc.c: (gst_ximagesrc_ximage_get), (composite_pixel): fix warning if xfixes doesn't exist 2005-07-14 Zaheer Abbas Merali * configure.ac: whoops committed something i shouldnt have from my tree :) 2005-07-14 Zaheer Abbas Merali * configure.ac: * sys/ximage/Makefile.am: * sys/ximage/ximagesink.c: (gst_ximagesink_ximage_new), (gst_ximagesink_ximage_destroy), (gst_ximagesink_xcontext_get), (gst_ximagesink_xcontext_clear), (gst_ximagesink_buffer_free): * sys/ximage/ximagesink.h: * sys/ximage/ximagesrc.c: (gst_ximagesrc_ximage_get), (gst_ximagesrc_getcaps), (gst_ximagesrc_free_data_func), (composite_pixel), (gst_ximagesrc_get), (ximagesrc_imagepool_free), (gst_ximagesrc_change_state), (gst_ximagesrc_init), (gst_ximagesrc_set_property), (gst_ximagesrc_get_property), (gst_ximagesrc_finalize), (gst_ximagesrc_class_init): + sys/ximage/ximageutil.h: + sys/ximage/ximageutil.c: Add shm support (Luca Ognibene) (bug #306292) Add mouse pointer display support using XFixes extension New property for ximagesrc: show-pointer 2005-07-14 Luca Ognibene * gst/tcp/gstmultifdsink.h (enum): * gst/tcp/gstmultifdsink.c (gst_client_status_get_type) (gst_multifdsink_add): Don't accept a client if multifdsink is in NULL state 2005-07-12 Arwed v. Merkatz * gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps_with_data): Added FFmpegs own MPEG-4 FOURCC (FMP4) 2005-07-11 Wouter Paesen Reviewed by: Ronald S. Bultje * gst/audioscale/gstaudioscale.c: (gst_audioscale_link), (gst_audioscale_get_buffer), (gst_audioscale_decrease_rate), (gst_audioscale_increase_rate), (gst_audioscale_chain): * gst/audioscale/gstaudioscale.h: Fix timestamp rounding error (#309354). 2005-07-11 jonathan@kaolin.hn.org Ronald S. Bultje * ext/cdparanoia/gstcdparanoia.c: (cdparanoia_class_init), (cdparanoia_open): Allow extracting last track when using URIs as well (#309375). Also fix two typos. 2005-07-11 jonathan@kaolin.hn.org Reviewed by: Ronald S. Bultje * ext/gnomevfs/gstgnomevfs.c: (plugin_init): * ext/gnomevfs/gstgnomevfssink.c: * ext/gnomevfs/gstgnomevfssrc.c: Add debug category (#309524). 2005-07-11 Thomas Zajic Reviewed by: Ronald S. Bultje * configure.ac: * ext/xine/xineaudiodec.c: (gst_xine_audio_dec_init_plugin): * ext/xine/xineaudiosink.c: (gst_xine_audio_sink_init_plugin): * ext/xine/xineinput.c: (gst_xine_input_init_plugin): Compile against newer libxine, update requirement (#309503). 2005-07-11 Ronald S. Bultje * ext/theora/theoradec.c: (theora_dec_chain): Packet >= 3, not >3, is not a header. Fixes the case where we seek back to the beginning of a theora file (#308484). 2005-07-07 Benjamin Otte * configure.ac: fix xvid detection, so that we work with the new 4.1 API. This is supposed to work, because (I quote xvid.h) "$minor is incremented when the api is changed, but remains backwards compatible". 2005-07-06 Arwed v. Merkatz * gst/matroska/matroska-mux.c: (gst_matroska_mux_loop): don't create an ELEMENT_ERROR on eos, instead finish muxing correctly 2005-07-06 Arwed v. Merkatz * gst/matroska/matroska-mux.c: (gst_matroska_mux_reset): use g_array_free instead of g_free, fixes bug #309532 2005-07-03 Ronald S. Bultje * ext/dvdnav/dvdnavsrc.c: (dvdnavsrc_uri_get_protocols), (dvdnavsrc_uri_set_uri), (plugin_init): * ext/dvdread/dvdreadsrc.c: (plugin_init): Make dvd:// primary for dvdnav, make dvdread secondary. THIS ENABLES MENUS FOR YOUR DVDs. Please file bugs for failing DVDs. * gst/playback/gstplaybasebin.c: (mute_stream), (setup_substreams), (set_active_source): Fix hang on subpicture change. 2005-07-02 Jan Schmidt * ext/dvdnav/dvdnavsrc.c: (dvdnavsrc_init), (dvdnavsrc_update_highlight), (dvdnavsrc_loop), (dvdnavsrc_open), (dvdnav_handle_navigation_event), (dvdnavsrc_event), (dvdnavsrc_query): Fix seeking calculation. Ignore multiple seek events until after we complete the first. Update highlight info after discont, fixes one case where buttons don't appear after jumping into the menu. Don't use gst_element_time for fixed still frame timing. * gst/dvdsubdec/dvdsubdec.c: (gst_dvdsubdec_init), (dvdsubdec_get_event_delay), (gst_dvdsubdec_parse_subpic), (gst_setup_palette), (gst_draw_rle_line), (gst_dvdsubdec_merge_title), (gst_send_empty_fill), (gst_send_subtitle_frame), (dvdsubdec_advance_time), (gst_dvdsubdec_handle_subtitle), (gst_dvdsubdec_handle_dvd_event): Draw the button region as a palette change highlight, not a clip. * gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_reset), (gst_mpeg_parse_get_rate), (gst_mpeg_parse_handle_src_event): Fix seek calculation for overflow. 2005-07-02 Ronald S. Bultje * gst/audioconvert/gstchannelmix.c: (gst_audio_convert_fill_normalize): Fix crack-leftovers in volume normalization that caused audible output volume to be inverse-logarithmically related to the number of channels of the input. Also add some docs on what this function actually is supposed to do. * gst/audioconvert/channelmixtest.c: (main): Fix test to represent this (test was wrong). 2005-07-02 Josef Zlomek Reviewed by: Ronald S. Bultje * gst/matroska/ebml-write.c: (gst_ebml_write_element_size): Fix for incorrect encoding of all-bit-1 sizes (0x7f, 0x3fff, etc.), which is #309325. 2005-07-01 jonathan@kaolin.hn.org Reviewed by: Ronald S. Bultje * ext/gnomevfs/gstgnomevfssrc.c: (audiocast_do_notifications), (gst_gnomevfssrc_received_headers_callback), (gst_gnomevfssrc_get_icy_metadata), (gst_gnomevfssrc_get), (gst_gnomevfssrc_open_file): Expose shoutcast metadata through standard tagging system (#307361). * gst/playback/gstplaybasebin.c: (gen_source_element): Set iradio property for http:// streams. 2005-07-01 Dominique Würtz Reviewed by: Ronald S. Bultje * gst/adder/gstadder.c: (gst_adder_loop): Calculate buffer times for float audio correctly, too (#308040) 2005-07-01 Chris Ouch Reviewed by: Ronald S. Bultje * gst/typefind/gsttypefindfunctions.c: (m4a_type_find): Add ftypmp42 as another MPEG-4 (audio) tag (#308980). 2005-07-01 Wouter Paesen Reviewed by: Ronald S. Bultje * ext/mad/gstmad.c: (gst_mad_chain): Make timestamp calculation more precise (rounding; #308772). 2005-07-01 Akos Maroy Reviewed by: Ronald S. Bultje * gst/adder/gstadder.c: (gst_adder_loop): Set GST_BUFFER_DURATION (#309218). 2005-07-01 Ronald S. Bultje * sys/ximage/ximagesink.c: (gst_ximagesink_xcontext_get): * sys/xvimage/xvimagesink.c: (gst_xvimagesink_get_xv_support): Allow fps to 1000 instead of 100 to workaround ffmpeg setting fps to 1000 for flv videos (#309150) 2005-07-01 Ronald S. Bultje * ext/artsd/gstartsdsink.c: (gst_artsdsink_class_init): Don't use the name property, since GstElement already uses that, but rename it to connection-name (#309087). 2005-07-01 Michal Benes Reviewed by: Ronald S. Bultje * gst/matroska/matroska-mux.c: (gst_matroska_mux_prepare_data): Do not check for number, since it can be called before negotiation took place and thus not be set, which makes the muxer fail on startup (#308633). 2005-07-01 Ronald S. Bultje * configure.ac: Add imagemixer/dvdsubdec. * ext/dvdnav/dvdnavsrc.c: (dvdnav_build_titlelang_event): For menu subpicture streams, set a name too, so dvddemux picks it up and can still validly emit no-more-pads. * ext/dvdnav/gst-dvd-2: Example. * ext/pango/Makefile.am: * ext/pango/gsttextoverlay.c: (plugin_init): * ext/pango/gsttextrender.c: (gst_text_render_get_type), (gst_text_render_base_init), (gst_text_render_class_init), (resize_bitmap), (render_text), (gst_text_render_link), (gst_text_render_fixate), (gst_text_overlay_blit_yuv420), (gst_text_render_chain), (gst_text_render_finalize), (gst_text_render_init), (gst_text_render_set_property), (gst_text_render_get_property): * ext/pango/gsttextrender.h: Chain-based text-rendering element (#306555). * gst/dvdsubdec/Makefile.am: * gst/dvdsubdec/dvdsubdec.c: (gst_dvdsubdec_get_type), (gst_dvdsubdec_base_init), (gst_dvdsubdec_class_init), (gst_dvdsubdec_init), (gst_dvdsubdec_finalize), (gst_dvdsubdec_getcaps_video), (gst_dvdsubdec_link_video), (gst_dvdsubdec_src_event), (dvdsubdec_get_event_delay), (gst_dvdsubdec_parse_subpic), (gst_get_nibble), (gst_setup_palette), (gst_get_rle_code), (gst_draw_rle_line), (gst_dvdsubdec_merge_title), (gst_send_empty_fill), (gst_send_subtitle_frame), (dvdsubdec_advance_time), (gst_dvdsubdec_handle_subtitle), (gst_dvdsubdec_handle_dvd_event), (plugin_init): Chain-based DVD subtitle decoder element (#301312), based on patch by Jan Schmidt . * gst/ffmpegcolorspace/gstffmpegcodecmap.c: (gst_ffmpeg_pixfmt_to_caps), (gst_ffmpeg_caps_to_pixfmt): * gst/ffmpegcolorspace/imgconvert.c: * gst/ffmpegcolorspace/imgconvert_template.h: Conserve alpha channel for BGRA32->AYUV, fix BGRA/BGRX masks (#308638). * gst/imagemixer/Makefile.am: * gst/imagemixer/README: * gst/imagemixer/blend.c: * gst/imagemixer/blend.h: * gst/imagemixer/mixer.c: (gst_image_mixer_base_init), (gst_image_mixer_class_init), (gst_image_mixer_init), (gst_image_mixer_request_pad), (gst_image_mixer_release_pad), (gst_image_mixer_fixate), (gst_image_mixer_get_caps), (gst_image_mixer_set_caps), (gst_image_mixer_read_a), (gst_image_mixer_read_y), (gst_image_mixer_read_u_v), (gst_image_mixer_do_mix_i420), (gst_image_mixer_do_mix_yuy2), (gst_image_mixer_do_mix_x444), (gst_image_mixer_do_mix_y444), (gst_image_mixer_do_mix_ayuv), (gst_image_mixer_do_mix), (is_past_end), (gst_image_mixer_blend_subpicture), (gst_image_mixer_src_event), (gst_image_mixer_handle_sink_event), (cb_compare), (gst_image_mixer_loop), (gst_image_mixer_change_state): * gst/imagemixer/mixer.h: * gst/imagemixer/mixerpad.c: (gst_image_mixer_pad_v_align_get_type), (gst_image_mixer_pad_h_align_get_type), (gst_image_mixer_pad_set_property), (gst_image_mixer_pad_get_property), (gst_image_mixer_pad_class_init), (gst_image_mixer_pad_init): * gst/imagemixer/mixerpad.h: * gst/imagemixer/plugin.c: (plugin_init): Image-mixing element, in the style of the pango textrendering element, but image- instead of text-based, including all cool stuff like seeking, overlays, picture-in-picture, DVD subtitle support, text subtitle support and everything. Can do negative z-orders for inverted overlay (force to AYUV in that case) so it can be used for chroma-keying software, too (#166783). * gst/imagemixer/test-dvd-subtitle.sh: Example. * gst/mpegstream/gstdvddemux.c: (gst_dvd_demux_init), (gst_dvd_demux_handle_dvd_event), (gst_dvd_demux_handle_discont), (gst_dvd_demux_send_subbuffer), (gst_dvd_demux_reset), (gst_dvd_demux_change_state): * gst/mpegstream/gstdvddemux.h: * gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_reset): Implement no-more-pads if the source knows the amount of pads, which dvd sources known from the IFO files. * gst/playback/gstplaybasebin.c: (gst_play_base_bin_class_init), (group_is_muted), (gen_preroll_element), (probe_triggered), (has_subtitle_ancestor), (new_decoded_pad), (gst_play_base_bin_set_property), (gst_play_base_bin_get_property): * gst/playback/gstplaybasebin.h: Implement subpicture pad support. * gst/playback/gstplaybin.c: (gen_video_element), (gen_subtitle_element), (gen_audio_element), (remove_sinks), (add_sink), (setup_sinks): Changes so we support subtitles in a more generic way and thus support DVD subtitles and menus in addition to text subtitles. * gst/playback/gststreaminfo.c: (gst_stream_type_get_type): * gst/playback/gststreaminfo.h: Subpicture type. * gst/playback/gststreamselector.c: (gst_stream_selector_chain): Event handling. * gst/videomixer/videomixer.c: (gst_videomixer_fill_queues), (gst_videomixer_update_queues): Do EOS correctly for endless streams on mainpad, while other pads are infinite (e.g. single picture; #309179).