Haakon Sporsheim [Wed, 7 May 2008 15:09:10 +0000 (15:09 +0000)]
[MOVED FROM GOOD] sys/directdraw/gstdirectdrawsink.c (gst_directdraw_sink_set_caps): Fixed mid stream resolution change bug, the offscr...
Original commit message from CVS:
patch by: Haakon Sporsheim <haakon.sporsheim at tandberg com>
* sys/directdraw/gstdirectdrawsink.c (gst_directdraw_sink_set_caps):
Fixed mid stream resolution change bug, the offscreen surface is now
released when set_caps is called.
Partially fixes #520885.
Ole André Vadla Ravnås [Wed, 7 May 2008 14:56:22 +0000 (14:56 +0000)]
[MOVED FROM GOOD] sys/directdraw/gstdirectdrawsink.c
Original commit message from CVS:
* sys/directdraw/gstdirectdrawsink.c
(gst_directdraw_sink_buffer_alloc):
Make it so that gst_directdraw_sink_buffer_alloc uses the right
width/height.
Especially when looking through the pool of buffers, make sure that
the width/height of caps is used instead of the already negotiated
dimensions.
For example if a buffer with different caps is requested, i.e.
higher resolution, the caller would get a buffer with the old
dimensions and thus corrupt the heap.
Ole André Vadla Ravnås [Wed, 7 May 2008 14:43:39 +0000 (14:43 +0000)]
[MOVED FROM GOOD] sys/directdraw/gstdirectdrawsink.c
Original commit message from CVS:
* sys/directdraw/gstdirectdrawsink.c
(gst_directdraw_sink_buffer_alloc):
Clear the flags on recycled buffers from buffer_alloc.
Partially fixes #520885.
The right fix this time.
Ole André Vadla Ravnås [Wed, 7 May 2008 14:39:45 +0000 (14:39 +0000)]
[MOVED FROM GOOD] sys/directdraw/gstdirectdrawsink.c
Original commit message from CVS:
* sys/directdraw/gstdirectdrawsink.c
(gst_directdraw_sink_buffer_alloc):
Reverting previous commit, it had it all mixed up, was for a different
patch (major automation screw-up). Sorry!
Ole André Vadla Ravnås [Wed, 7 May 2008 13:48:28 +0000 (13:48 +0000)]
[MOVED FROM GOOD] sys/directdraw/gstdirectdrawsink.c
Original commit message from CVS:
* sys/directdraw/gstdirectdrawsink.c
(gst_directdraw_sink_buffer_alloc):
Clear the flags on recycled buffers from buffer_alloc.
Partially fixes #520885.
Sebastian Dröge [Tue, 12 Feb 2008 12:22:48 +0000 (12:22 +0000)]
[MOVED FROM GOOD] sys/directdraw/gstdirectdrawsink.c: Properly chain up finalize functions. Fixes bug #515980.
Original commit message from CVS:
* sys/directdraw/gstdirectdrawsink.c:
(gst_ddrawsurface_class_init), (gst_ddrawsurface_finalize),
(gst_directdraw_sink_finalize):
Properly chain up finalize functions. Fixes bug #515980.
Tim-Philipp Müller [Mon, 7 Jan 2008 16:41:00 +0000 (16:41 +0000)]
[MOVED FROM GOOD] sys/directdraw/gstdirectdrawsink.c: FALSE is not a gpointer.
Original commit message from CVS:
* sys/directdraw/gstdirectdrawsink.c:
(gst_directdraw_sink_window_thread):
FALSE is not a gpointer.
Julien Moutte [Sat, 5 Jan 2008 21:20:08 +0000 (21:20 +0000)]
[MOVED FROM GOOD] sys/directdraw/gstdirectdrawsink.c: Make sure we create our internal window only when we need it. That will give a ch...
Original commit message from CVS:
2008-01-05 Julien Moutte <julien@fluendo.com>
* sys/directdraw/gstdirectdrawsink.c:
(gst_directdraw_sink_set_window_id),
(gst_directdraw_sink_set_caps),
(gst_directdraw_sink_change_state),
(gst_directdraw_sink_buffer_alloc),
(gst_directdraw_sink_draw_borders),
(gst_directdraw_sink_show_frame),
(gst_directdraw_sink_setup_ddraw),
(gst_directdraw_sink_window_thread),
(gst_directdraw_sink_get_ddrawcaps),
(gst_directdraw_sink_surface_create): Make sure we create our
internal window only when we need it. That will give a chance to
the application to get the prepare-xwindow-id bus message. Draw
black borders when keeping aspect ratio. Handle the case where
our
rendering window disappears (closed or errors) like other sinks
do. Various 80 columns fixes, improve state change order. That
element could need some more love.
Thomas Vander Stichele [Sat, 22 Sep 2007 08:12:57 +0000 (08:12 +0000)]
[MOVED FROM GOOD] fix header and comments
Original commit message from CVS:
fix header and comments
Jan Schmidt [Thu, 14 Jun 2007 12:14:24 +0000 (12:14 +0000)]
[MOVED FROM GOOD] Make sure to dist everything needed for win32 builds.
Original commit message from CVS:
* configure.ac:
* sys/Makefile.am:
* sys/directdraw/Makefile.am:
* sys/directsound/Makefile.am:
* sys/waveform/Makefile.am:
Make sure to dist everything needed for win32 builds.
Jan Schmidt [Fri, 8 Jun 2007 16:31:15 +0000 (16:31 +0000)]
[MOVED FROM GOOD] Rename the keep-aspect-ratio property to force-aspect-ratio to make it consistent with xvimagesink and ximagesink.
Original commit message from CVS:
* docs/plugins/gst-plugins-bad-plugins.args:
* sys/directdraw/gstdirectdrawsink.c:
(gst_directdraw_sink_class_init):
Rename the keep-aspect-ratio property to force-aspect-ratio to make
it consistent with xvimagesink and ximagesink.
Vincent Torri [Thu, 24 May 2007 08:35:23 +0000 (08:35 +0000)]
[MOVED FROM GOOD] sys/directdraw/gstdirectdrawsink.*: Fix more warnings when compiling with MingW (#439914).
Original commit message from CVS:
Patch by: Vincent Torri <vtorri at univ-evry fr>
* sys/directdraw/gstdirectdrawsink.c:
(gst_directdraw_sink_buffer_alloc),
(gst_directdraw_sink_show_frame),
(gst_directdraw_sink_check_primary_surface),
(gst_directdraw_sink_check_offscreen_surface),
(EnumModesCallback2), (gst_directdraw_sink_get_ddrawcaps),
(gst_directdraw_sink_surface_create):
* sys/directdraw/gstdirectdrawsink.h:
Fix more warnings when compiling with MingW (#439914).
Tim-Philipp Müller [Sun, 20 May 2007 14:59:46 +0000 (14:59 +0000)]
[MOVED FROM GOOD] sys/directdraw/gstdirectdrawsink.c: Bunch of small fixes: remove static function that doesn't exist; declare another ...
Original commit message from CVS:
* sys/directdraw/gstdirectdrawsink.c: (gst_ddrawsurface_finalize),
(gst_directdraw_sink_buffer_alloc),
(gst_directdraw_sink_get_ddrawcaps),
(gst_directdraw_sink_surface_create):
Bunch of small fixes: remove static function that doesn't exist;
declare another one that does; printf format fix; use right macro
when specifying debug category; remove a bunch of unused variables;
#if 0 out an unused chunk of code (partially fixes #439914).
Tim-Philipp Müller [Tue, 15 May 2007 17:22:58 +0000 (17:22 +0000)]
[MOVED FROM GOOD] Add DIRECTDRAW_CFLAGS and DIRECTSOUND_CFLAGS to Makefile.am; save and restore the various flags in the directdraw/dir...
Original commit message from CVS:
* configure.ac:
* sys/directdraw/Makefile.am:
* sys/directsound/Makefile.am:
Add DIRECTDRAW_CFLAGS and DIRECTSOUND_CFLAGS to Makefile.am; save
and restore the various flags in the directdraw/directsound
detection section. Apparently improves cross-compiling for win32
with mingw32 under some circumstances (#437539).
Thomas Vander Stichele [Sun, 29 Apr 2007 13:56:18 +0000 (13:56 +0000)]
[MOVED FROM GOOD] 80 char police
Original commit message from CVS:
80 char police
Sébastien Moutte [Sun, 11 Mar 2007 22:23:04 +0000 (22:23 +0000)]
[MOVED FROM GOOD] sys/directdraw/gstdirectdrawsink.*: Handle display mode changes during playback.
Original commit message from CVS:
* sys/directdraw/gstdirectdrawsink.c:
* sys/directdraw/gstdirectdrawsink.h:
Handle display mode changes during playback.
Christian Schaller [Tue, 27 Feb 2007 12:02:03 +0000 (12:02 +0000)]
[MOVED FROM GOOD] update copyright statements
Original commit message from CVS:
update copyright statements
Sébastien Moutte [Sun, 18 Feb 2007 18:00:51 +0000 (18:00 +0000)]
[MOVED FROM GOOD] sys/directdraw/: Prepare the plugin to move to good:
Original commit message from CVS:
* sys/directdraw/gstdirectdrawplugin.c:
* sys/directdraw/gstdirectdrawsink.c:
* sys/directdraw/gstdirectdrawsink.h:
Prepare the plugin to move to good:
Remove unused/untested code (rendering to an extern surface,
yuv format rendering).Use GST_(DEBUG/*)_OBJECT macros
Rename all functions from gst_directdrawsink to gst_directdraw_sink.
Add gtk doc section
Fix a bug in gst_directdraw_sink_show_frame, memcpy line by line
respecting destination surface stride.
* sys/directsound/gstdirectsoundplugin.c:
* sys/directsound/gstdirectsoundsink.c:
* sys/directsound/gstdirectsoundsink.h:
Prepare the plugin to move to good:
Rename all functions from gst_directsoundsink to gst_directsound_sink.
Add gtk doc section
* win32/common/config.h.in:
* win32/MANIFEST:
Add config.h.in
Sébastien Moutte [Sun, 11 Feb 2007 15:26:49 +0000 (15:26 +0000)]
[MOVED FROM GOOD] Makefile.am: Add win32 MANIFEST
Original commit message from CVS:
* Makefile.am:
Add win32 MANIFEST
* sys/directdraw/gstdirectdrawsink.c:
* sys/directdraw/gstdirectdrawsink.h:
Clear unused code and add comments.
Remove yuv from template caps, it only supports RGB
actually.
Implement XOverlay interface and remove window and fullscreen
properties.
Add debug logs.
Test for blit capabilities to return only the current colorspace if
the hardware can't blit for one colorspace to another.
* sys/directsound/gstdirectsoundsink.c:
Add some debugs.
* win32/MANIFEST:
Add VS7 project files and solution.
* win32/vs6/gst_plugins_bad.dsw:
* win32/vs6/libgstdirectdraw.dsp:
* win32/vs6/libgstdirectsound.dsp:
* win32/vs6/libgstqtdemux.dsp:
Update project files.
Vincent Torri [Wed, 3 Jan 2007 19:54:33 +0000 (19:54 +0000)]
[MOVED FROM GOOD] Add directdrawsink to build and dist it, so it gets built when compiling with MingW on win32 and the required headers...
Original commit message from CVS:
Patch by: Vincent Torri <vtorri at univ-evry fr>
* configure.ac:
* sys/Makefile.am:
* sys/directdraw/Makefile.am:
Add directdrawsink to build and dist it, so it gets built when
compiling with MingW on win32 and the required headers and libraries
are available (fixes: #392313).
* sys/directdraw/gstdirectdrawsink.c:
(gst_directdrawsink_center_rect), (gst_directdrawsink_show_frame),
(gst_directdrawsink_setup_ddraw),
(gst_directdrawsink_surface_create):
Comment out some unused things and fix some printf format issues in
order to avoid warnings when buildling with MingW (#392313).
Sergey Scobich [Wed, 1 Nov 2006 10:19:18 +0000 (10:19 +0000)]
[MOVED FROM GOOD] sys/: Wait until the window is created before using it; guard unistd.h includes with HAVE_UNISTD_H. (#366523)
Original commit message from CVS:
Patch by: Sergey Scobich <sergey dot scobich at gmail com>
* sys/directdraw/gstdirectdrawsink.c:
(gst_directdrawsink_window_thread),
(gst_directdrawsink_create_default_window):
* sys/directdraw/gstdirectdrawsink.h:
* sys/directsound/gstdirectsoundsink.c:
Wait until the window is created before using it; guard unistd.h
includes with HAVE_UNISTD_H. (#366523)
* win32/vs8/libgstdirectdraw.vcproj:
* win32/vs8/libgstdirectsound.vcproj:
Update project files.
Sébastien Moutte [Mon, 24 Jul 2006 21:43:06 +0000 (21:43 +0000)]
[MOVED FROM GOOD] sys/directsound/gstdirectsoundsink.*: Add an attenuation property that will directly attenuate the directsound buffer.
Original commit message from CVS:
* sys/directsound/gstdirectsoundsink.h:
* sys/directsound/gstdirectsoundsink.c:
Add an attenuation property that will directly attenuate the
directsound buffer.
Change the size of the directsound secondary buffer to a half second.
Add more debug logs.
Add a lock to protect dsound buffer write access.
Fix a bad implementation of reset.
* sys/directsound/gstdirectdrawsink.c:
* sys/directsound/gstdirectdrawsink.h:
Add a keep_aspect_ratio property.
Do not use overlay if not supported.
Add more debug logs.
Remove overwrite of WM_ERASEBKGND message handling. It was not
redrawing border when keep_aspect_ratio was enabled.
* win32/common/config.h:
update version waiting an auto-generated config.h
Tim-Philipp Müller [Mon, 12 Jun 2006 10:53:26 +0000 (10:53 +0000)]
[MOVED FROM GOOD] ext/libmms/gstmms.c: Set caps on outgoing buffers.
Original commit message from CVS:
* ext/libmms/gstmms.c: (gst_mms_create):
Set caps on outgoing buffers.
* sys/directdraw/gstdirectdrawsink.c: (gst_directdrawsink_init):
Comment out unused global instance variable.
Stefan Kost [Thu, 1 Jun 2006 22:00:26 +0000 (22:00 +0000)]
[MOVED FROM GOOD] Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
Original commit message from CVS:
* ext/alsaspdif/alsaspdifsink.h:
* ext/amrwb/gstamrwbdec.h:
* ext/amrwb/gstamrwbenc.h:
* ext/amrwb/gstamrwbparse.h:
* ext/arts/gst_arts.h:
* ext/artsd/gstartsdsink.h:
* ext/audiofile/gstafparse.h:
* ext/audiofile/gstafsink.h:
* ext/audiofile/gstafsrc.h:
* ext/audioresample/gstaudioresample.h:
* ext/bz2/gstbz2dec.h:
* ext/bz2/gstbz2enc.h:
* ext/dirac/gstdiracdec.h:
* ext/directfb/dfbvideosink.h:
* ext/divx/gstdivxdec.h:
* ext/divx/gstdivxenc.h:
* ext/dts/gstdtsdec.h:
* ext/faac/gstfaac.h:
* ext/gsm/gstgsmdec.h:
* ext/gsm/gstgsmenc.h:
* ext/ivorbis/vorbisenc.h:
* ext/libfame/gstlibfame.h:
* ext/nas/nassink.h:
* ext/neon/gstneonhttpsrc.h:
* ext/polyp/polypsink.h:
* ext/sdl/sdlaudiosink.h:
* ext/sdl/sdlvideosink.h:
* ext/shout/gstshout.h:
* ext/snapshot/gstsnapshot.h:
* ext/sndfile/gstsf.h:
* ext/swfdec/gstswfdec.h:
* ext/tarkin/gsttarkindec.h:
* ext/tarkin/gsttarkinenc.h:
* ext/theora/theoradec.h:
* ext/wavpack/gstwavpackdec.h:
* ext/wavpack/gstwavpackparse.h:
* ext/xine/gstxine.h:
* ext/xvid/gstxviddec.h:
* ext/xvid/gstxvidenc.h:
* gst/cdxaparse/gstcdxaparse.h:
* gst/cdxaparse/gstcdxastrip.h:
* gst/colorspace/gstcolorspace.h:
* gst/festival/gstfestival.h:
* gst/freeze/gstfreeze.h:
* gst/gdp/gstgdpdepay.h:
* gst/gdp/gstgdppay.h:
* gst/modplug/gstmodplug.h:
* gst/mpeg1sys/gstmpeg1systemencode.h:
* gst/mpeg1videoparse/gstmp1videoparse.h:
* gst/mpeg2sub/gstmpeg2subt.h:
* gst/mpegaudioparse/gstmpegaudioparse.h:
* gst/multifilesink/gstmultifilesink.h:
* gst/overlay/gstoverlay.h:
* gst/playondemand/gstplayondemand.h:
* gst/qtdemux/qtdemux.h:
* gst/rtjpeg/gstrtjpegdec.h:
* gst/rtjpeg/gstrtjpegenc.h:
* gst/smooth/gstsmooth.h:
* gst/smoothwave/gstsmoothwave.h:
* gst/spectrum/gstspectrum.h:
* gst/speed/gstspeed.h:
* gst/stereo/gststereo.h:
* gst/switch/gstswitch.h:
* gst/tta/gstttadec.h:
* gst/tta/gstttaparse.h:
* gst/videodrop/gstvideodrop.h:
* gst/xingheader/gstxingmux.h:
* sys/directdraw/gstdirectdrawsink.h:
* sys/directsound/gstdirectsoundsink.h:
* sys/dxr3/dxr3audiosink.h:
* sys/dxr3/dxr3spusink.h:
* sys/dxr3/dxr3videosink.h:
* sys/qcam/gstqcamsrc.h:
* sys/vcd/vcdsrc.h:
Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
Stefan Kost [Tue, 25 Apr 2006 21:56:38 +0000 (21:56 +0000)]
[MOVED FROM GOOD] Define GstElementDetails as const and also static (when defined as global)
Original commit message from CVS:
* ext/amrwb/gstamrwbdec.c:
* ext/amrwb/gstamrwbenc.c:
* ext/amrwb/gstamrwbparse.c:
* ext/arts/gst_arts.c:
* ext/artsd/gstartsdsink.c:
* ext/audiofile/gstafparse.c:
* ext/audiofile/gstafsink.c:
* ext/audiofile/gstafsrc.c:
* ext/audioresample/gstaudioresample.c:
* ext/bz2/gstbz2dec.c:
* ext/bz2/gstbz2enc.c:
* ext/cdaudio/gstcdaudio.c:
* ext/directfb/dfbvideosink.c:
* ext/divx/gstdivxdec.c:
* ext/divx/gstdivxenc.c:
* ext/dts/gstdtsdec.c: (gst_dtsdec_base_init):
* ext/faac/gstfaac.c: (gst_faac_base_init):
* ext/faad/gstfaad.c:
* ext/gsm/gstgsmdec.c:
* ext/gsm/gstgsmenc.c:
* ext/hermes/gsthermescolorspace.c:
* ext/ivorbis/vorbisfile.c:
* ext/lcs/gstcolorspace.c:
* ext/libfame/gstlibfame.c:
* ext/libmms/gstmms.c: (gst_mms_base_init):
* ext/musepack/gstmusepackdec.c: (gst_musepackdec_base_init):
* ext/musicbrainz/gsttrm.c: (gst_musicbrainz_base_init):
* ext/nas/nassink.c: (gst_nassink_base_init):
* ext/neon/gstneonhttpsrc.c:
* ext/sdl/sdlaudiosink.c:
* ext/sdl/sdlvideosink.c:
* ext/shout/gstshout.c:
* ext/snapshot/gstsnapshot.c:
* ext/sndfile/gstsf.c:
* ext/swfdec/gstswfdec.c:
* ext/tarkin/gsttarkindec.c:
* ext/tarkin/gsttarkinenc.c:
* ext/theora/theoradec.c:
* ext/wavpack/gstwavpackdec.c: (gst_wavpack_dec_base_init):
* ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_base_init):
* ext/xvid/gstxviddec.c:
* ext/xvid/gstxvidenc.c:
* gst/cdxaparse/gstcdxaparse.c: (gst_cdxa_parse_base_init):
* gst/cdxaparse/gstcdxastrip.c: (gst_cdxastrip_base_init):
* gst/chart/gstchart.c:
* gst/colorspace/gstcolorspace.c:
* gst/deinterlace/gstdeinterlace.c:
* gst/equalizer/gstiirequalizer.c: (gst_iir_equalizer_base_init):
* gst/festival/gstfestival.c:
* gst/filter/gstbpwsinc.c:
* gst/filter/gstiir.c:
* gst/filter/gstlpwsinc.c:
* gst/freeze/gstfreeze.c:
* gst/games/gstpuzzle.c: (gst_puzzle_base_init):
* gst/librfb/gstrfbsrc.c:
* gst/mixmatrix/mixmatrix.c:
* gst/mpeg1sys/gstmpeg1systemencode.c:
* gst/mpeg1videoparse/gstmp1videoparse.c:
* gst/mpeg2sub/gstmpeg2subt.c:
* gst/mpegaudioparse/gstmpegaudioparse.c:
* gst/multifilesink/gstmultifilesink.c:
* gst/overlay/gstoverlay.c:
* gst/passthrough/gstpassthrough.c:
* gst/playondemand/gstplayondemand.c:
* gst/qtdemux/qtdemux.c:
* gst/rtjpeg/gstrtjpegdec.c:
* gst/rtjpeg/gstrtjpegenc.c:
* gst/smooth/gstsmooth.c:
* gst/smoothwave/gstsmoothwave.c:
* gst/spectrum/gstspectrum.c:
* gst/speed/gstspeed.c:
* gst/stereo/gststereo.c:
* gst/switch/gstswitch.c:
* gst/tta/gstttadec.c: (gst_tta_dec_base_init):
* gst/tta/gstttaparse.c: (gst_tta_parse_base_init):
* gst/vbidec/gstvbidec.c:
* gst/videocrop/gstvideocrop.c:
* gst/videodrop/gstvideodrop.c:
* gst/virtualdub/gstxsharpen.c:
* gst/xingheader/gstxingmux.c: (gst_xing_mux_base_init):
* gst/y4m/gsty4mencode.c:
* sys/cdrom/gstcdplayer.c:
* sys/directdraw/gstdirectdrawsink.c:
* sys/directsound/gstdirectsoundsink.c:
* sys/glsink/glimagesink.c:
* sys/qcam/gstqcamsrc.c:
* sys/v4l2/gstv4l2src.c:
* sys/vcd/vcdsrc.c: (gst_vcdsrc_base_init):
* sys/ximagesrc/ximagesrc.c:
Define GstElementDetails as const and also static (when defined as
global)
Thomas Vander Stichele [Sat, 1 Apr 2006 10:09:11 +0000 (10:09 +0000)]
[MOVED FROM GOOD] rework build; add translations for v4l2
Original commit message from CVS:
rework build; add translations for v4l2
Sébastien Moutte [Fri, 3 Mar 2006 23:45:23 +0000 (23:45 +0000)]
[MOVED FROM GOOD] sys/: sinks are now using GST_RANK_PRIMARY to be used with autodectection
Original commit message from CVS:
* sys/directdraw:
* sys/directsound:
sinks are now using GST_RANK_PRIMARY to be used with autodectection
* win32/vs6:
project files updated to fix some bugs
* win32/vs7:
* win32/vs8:
vs7 and vs8 project files added
Sébastien Moutte [Thu, 5 Jan 2006 23:17:44 +0000 (23:17 +0000)]
[MOVED FROM GOOD] added sys/directdraw added sys/directsound added win32/vs6/gst_plugins_bad.dsw added win32/vs6/libgstdirectsound.dsp ...
Original commit message from CVS:
2006-01-05 Sebastien Moutte <sebastien@moutte.net>
* added sys/directdraw
* added sys/directsound
* added win32/vs6/gst_plugins_bad.dsw
* added win32/vs6/libgstdirectsound.dsp
* added win32/vs6/libgstdirectdraw.dsp
* added win32/common/config.h
Jan Schmidt [Fri, 15 May 2009 09:45:45 +0000 (10:45 +0100)]
fpsdisplaysink: Fix resetting of the sink in NULL
Reset the fpsdisplaysink in NULL by removing the textoverlay if we
created it.
Fixes: #582633
Jan Schmidt [Fri, 15 May 2009 23:17:00 +0000 (00:17 +0100)]
Moved 'y4menc' from -bad to -good
Tim-Philipp Müller [Fri, 15 May 2009 17:24:41 +0000 (18:24 +0100)]
po: add Makevars magic so we don't get line numbers in *.po files
This avoids the number one reason for local modifications in *.po
files and and makes things less annoying when working with git (or
any other VCS for that matter).
Thiago Santos [Fri, 15 May 2009 04:54:44 +0000 (01:54 -0300)]
[qtmux] Fixes segfault when adding a blob as first tag.
Moves tags data initialization to the function that actually appends
the tags to the list. Fixes #582702
Also fixes some style caught by the pre-commit hook.
Sebastian Dröge [Thu, 14 May 2009 19:20:47 +0000 (21:20 +0200)]
mxfdemux: Use a RW lock to protect metadata and add all pads at once without a lock held
This makes it possible, among other things, to do a query in the
pad-added callback.
Fixes bug #582656.
Jan Schmidt [Thu, 14 May 2009 09:34:08 +0000 (10:34 +0100)]
resindvd: Fix the argument order in a debug statement
Make the debug statement correctly show the 'old' and 'new' button
coordinates, instead of the wrong way around.
Jan Schmidt [Thu, 14 May 2009 08:53:25 +0000 (09:53 +0100)]
resindvd: Make segment updates less aggressive.
When updating a pad, send the update to half a second behind the SCR,
which avoids ever updating the start time for a pad to beyond the end of
the cell. Also, remember the last actual new-segment start time for each
pad, and use it when closing the segment.
Jan Schmidt [Wed, 13 May 2009 11:47:43 +0000 (12:47 +0100)]
resindvd: Rework button highlight calculation slightly
When the current button number is higher than the number of available
buttons, switch to the highest numbered button rather than the lowest.
Also, don't throw errors when we fail to retrieve some button info
from libdvdnav, just reset the highlight.
Jan Schmidt [Tue, 12 May 2009 22:42:00 +0000 (23:42 +0100)]
resindvd: Send commands-changed on button change and handle commands query
Send the commands-changed navigation message when the set of available
DVD menu button actions changes, and handle the commands navigation
query so that (e.g.) Totem can know about the available navigation
commands.
Jan Schmidt [Thu, 14 May 2009 07:42:24 +0000 (08:42 +0100)]
resindvd: Fix a leak of the DVD title string
Jan Schmidt [Thu, 14 May 2009 09:55:38 +0000 (10:55 +0100)]
dvdspu: Push update frame, if any, when entering stills.
When entering a still frame generates an updated buffer, make sure
to push it out, otherwise we may not put a frame onscreen with a
rendered button, causing raciness as to whether buttons get drawn
or not when jumping back to the menu on some discs.
Jan Schmidt [Wed, 13 May 2009 09:29:36 +0000 (10:29 +0100)]
resindvd: Fix raciness in rsndvdbin when initially creating pads
Protect pad exposure with a preroll lock to avoid situations
where no-more-pads is fired more than once, or fired just before
the last pad is actually added.
Wim Taymans [Wed, 13 May 2009 15:55:46 +0000 (17:55 +0200)]
y4menc: change my email
change my email to something more current
See #580783
Wim Taymans [Wed, 13 May 2009 15:54:47 +0000 (17:54 +0200)]
y4menc: don't strip timestamps
Fixes #582483
Sebastian Dröge [Wed, 13 May 2009 08:47:23 +0000 (10:47 +0200)]
Moved 'deinterlace2' from -bad to -good
And remove old deinterlace plugin as deinterlace2 will
be called deinterlace in -good.
Sebastian Dröge [Tue, 12 May 2009 19:50:12 +0000 (21:50 +0200)]
Moved 'flv' from -bad to -good
Jan Schmidt [Mon, 11 May 2009 23:50:01 +0000 (00:50 +0100)]
0.10.11.2 pre-release
Jan Schmidt [Mon, 11 May 2009 16:50:41 +0000 (17:50 +0100)]
resindvd: Modify the segment update logic
Send segment updates to the audio and subpicture pads more frequently,
but less often to the video pad, where timestamps appear less often.
This helps with gap filling on some DVDs.
Jan Schmidt [Mon, 11 May 2009 15:09:56 +0000 (16:09 +0100)]
resindvd: Increase the amount of filler audio generated
When creating a filler audio buffer in rsnaudiomunge, generate
a bit more, as audio sinks don't seem to preroll otherwise. This
needs a better algorithm in general, to intelligently fill the
gap, rather than hard-coding a value.
Jan Schmidt [Mon, 11 May 2009 13:17:42 +0000 (14:17 +0100)]
resindvd: Manage timed still sequences better
Make timed still frames work better by extending the current segment
when needed, and restarting the still sequence with the correct
remaining duration when the wait it interrupted by activation of a
highlight NAV packet.
Jan Schmidt [Mon, 11 May 2009 10:06:03 +0000 (11:06 +0100)]
resindvd: Change the audiomunge debug output.
Make sure we always show information about the segment events passing through,
even when pre-roll audio buffers aren't going to be needed.
Jan Schmidt [Mon, 11 May 2009 10:04:25 +0000 (11:04 +0100)]
dvdspu: Make the debugging output a bit clearer.
Display more info about custom DVD events in the debug messages.
Jan Schmidt [Fri, 8 May 2009 16:42:12 +0000 (17:42 +0100)]
dvdspu: Always push a frame at the start of a still frame, and fix a leak.
Make sure to push the frame for a still frame, with discont = true and
timestamp=none, so that it gets displayed by the sink. Also, don't leak
each rendered video frame during still menus.
Jan Schmidt [Fri, 8 May 2009 16:40:48 +0000 (17:40 +0100)]
dvdspu: Add a guard when we don't have any subpicture buffer to render
Jan Schmidt [Fri, 8 May 2009 15:29:20 +0000 (16:29 +0100)]
resindvd: Rename the audio munger debug category
Rename a debug category: rsn_audiomunge -> rsnaudiomunge.
Jan Schmidt [Fri, 8 May 2009 15:27:31 +0000 (16:27 +0100)]
resindvd: Ensure we send a title tag in the first play section.
Jan Schmidt [Fri, 8 May 2009 15:06:01 +0000 (16:06 +0100)]
resindvd: Simplify some stuff. Remove an unnecessary LOG message.
Skip attempting to schedule a nav block unless we're in PLAYING. Take a lock
slightly later, when we actually need it. Remove a noisy LOG message.
Jan Schmidt [Fri, 8 May 2009 13:23:48 +0000 (14:23 +0100)]
resindvd: Remove per-menu description from the TITLE tag
The part number reported while in a menu doesn't reflect the selected
menu, so it's pointless to use it to report which menu we're in (Audio,
Angle etc). Just report "DVD Menu" in the title tag instead.
Jan Schmidt [Fri, 8 May 2009 13:20:32 +0000 (14:20 +0100)]
resindvd: Send title info message when current angle is switched.
Make sure we send an update title tag when the current angle or available
angles changes.
Jan Schmidt [Fri, 8 May 2009 09:43:27 +0000 (10:43 +0100)]
resindvd: Implement navigation command change message and query
Send messages when the available DVD navigation commands changes, and
handle navigation commands and angles queries.
Edward Hervey [Mon, 11 May 2009 14:59:20 +0000 (16:59 +0200)]
mpegtsdemux: Protect bitrate estimation against bogus values.
If the estimated bitrate is lower than 188 bytes, there's most likely
something completely wrong with the two samples. If that happens,
force recalculation.
Use guint64 for observation PCR, I saw cases where it would overflow.
Edward Hervey [Mon, 11 May 2009 14:58:58 +0000 (16:58 +0200)]
mpegtsdemux: Only take PCR from the active stream for bitrate estimation.
Edward Hervey [Mon, 11 May 2009 14:40:46 +0000 (16:40 +0200)]
mpegtsdemux: Change debugging levels for very frequent messages.
This allows debugging with mpegtsdemux:4 while being able to track what's
going on (and avoid taking up as much cpu for debugging as for the actual
demuxing process).
Edward Hervey [Sat, 9 May 2009 07:57:47 +0000 (09:57 +0200)]
mpegtsdemux: Revert indentation and comment header file.
One shouldn't run gst-indent on .h files, in this case it was un-beautifying
the indentation :)
Mark Nauwelaerts [Sun, 10 May 2009 19:21:36 +0000 (21:21 +0200)]
gppmux: Add MPEG-4 part 2 to supported formats. Fixes #581593.
Sebastian Dröge [Sun, 10 May 2009 15:17:15 +0000 (17:17 +0200)]
faad: Fix configure check for the FAAD version
The previous version matched things like 297 for
version 2.7, etc which could be added to the file
by other headers.
Fixes bug #582074.
Marc-Andre Lureau [Sun, 10 May 2009 09:17:17 +0000 (11:17 +0200)]
Run libtoolize before aclocal
This unbreaks the build in some cases. Fixes bug #582021
Tristan Matthews [Sun, 10 May 2009 08:40:36 +0000 (10:40 +0200)]
mxfmux: Fix uninitialized variable compiler warning
This will always be set to something but gcc didn't detect
this. Fixes bug #582013.
Christian Schaller [Sat, 9 May 2009 22:47:39 +0000 (23:47 +0100)]
Remove wrong stuff from preset file
Sebastian Dröge [Sat, 9 May 2009 13:48:54 +0000 (15:48 +0200)]
mxfmux: Write metadata items in reference order
This ensures that the metadata items are always written
in the same order and that first comes the preface,
then the identification linked from the preface, ...
Some demuxers can't handle files where the metadata
items are in random order.
Sebastian Dröge [Sat, 9 May 2009 13:48:41 +0000 (15:48 +0200)]
mxfmux: Fix EOS logic again
Sebastian Dröge [Sat, 9 May 2009 13:48:01 +0000 (15:48 +0200)]
mxfmux: Don't unref NULL buffers if pushing a buffer after the first failed
Christian Schaller [Sat, 9 May 2009 11:42:25 +0000 (12:42 +0100)]
Add a more representative example preset file for x264
Zaheer Merali [Fri, 8 May 2009 17:24:28 +0000 (18:24 +0100)]
mpegtsdemux: Add initial naive seeking support and fix duration query.
Sync from gst-fluendo-mpegdemux and have seeking/duration query
improvements in. No support however for wrapped around pcrs etc. but a
start nonetheless.
Also fix indentation issues.
Christian Schaller [Fri, 8 May 2009 15:38:26 +0000 (16:38 +0100)]
Comment out preset not in yet
Sebastian Dröge [Fri, 8 May 2009 13:39:24 +0000 (15:39 +0200)]
deinterlace2: Add a disabled mode for passthrough operation
Also allow to change the mode in PAUSED and PLAYING by updating
the caps if necessary.
Christian Schaller [Thu, 7 May 2009 16:53:42 +0000 (17:53 +0100)]
Add ranks to various muxers and encoders in -bad
Christian Schaller [Thu, 7 May 2009 16:34:36 +0000 (17:34 +0100)]
Update spec file
Rov Juvano [Thu, 7 May 2009 11:12:34 +0000 (13:12 +0200)]
scaletempo: Don't require gconfaudiosink in the demo
Fixes bug #537700.
Jan Schmidt [Wed, 6 May 2009 20:48:30 +0000 (21:48 +0100)]
resindvd: Don't open all VTS ifo at the start
Load each VTS ifo the first time the disc enters that VTS,
rather than scanning them all at the start.
Jan Schmidt [Wed, 6 May 2009 20:19:13 +0000 (21:19 +0100)]
resindvd: Send a title tag when we change chapter/menu/angle
Allow apps like Totem to display a nicer title that reflects the current
position on the disc.
Jan Schmidt [Tue, 5 May 2009 12:18:20 +0000 (13:18 +0100)]
resindvd: Don't send highlight-reset messages when not needed
Fix a small bug that results in the SPU highlight being reset more often
than is necessary - ie, clearing it when it's already cleared.
Jan Schmidt [Tue, 5 May 2009 12:14:47 +0000 (13:14 +0100)]
resindvd: send angles-changed messages when appropriate
When the current angle changes, or the number of available angles changes,
send an angles-changed message to let the app know.
Jan Schmidt [Tue, 5 May 2009 10:34:26 +0000 (11:34 +0100)]
resindvd: Make the next/prev angle switching cycle at the ends
When the current angle is 1 and prev_angle is requested, loop to the
maximum angle and vice versa for next_angle
Arnout Vandecappelle [Tue, 5 May 2009 14:54:39 +0000 (16:54 +0200)]
mpeg4videoparse: don't leak the config data
Clear the config data when going to READY or when disposed.
Fixes #581427
Wim Taymans [Tue, 5 May 2009 14:48:37 +0000 (16:48 +0200)]
rtpssrcdemux: drop unexpected RTCP packets
We usually only get SR packets in our chain function but if an invalid packet
contains the SR packet after the RR packet, we must not fail but simply ignore
the malformed packet.
Fixes #581375
Zaheer Abbas Merali [Mon, 4 May 2009 21:09:05 +0000 (22:09 +0100)]
mpegtsparse: Remember pids that are meant to be stream pids.
Fixes #569781
Sebastian Dröge [Mon, 4 May 2009 10:37:31 +0000 (12:37 +0200)]
celt: Implement preset interface
Sebastian Dröge [Mon, 4 May 2009 10:36:17 +0000 (12:36 +0200)]
dirac: Implement preset interface
Sebastian Dröge [Mon, 4 May 2009 10:34:59 +0000 (12:34 +0200)]
jp2kenc: Implement preset interface
Sebastian Dröge [Mon, 4 May 2009 10:33:41 +0000 (12:33 +0200)]
mpeg2enc: Implement Preset interface
Sebastian Dröge [Mon, 4 May 2009 10:31:58 +0000 (12:31 +0200)]
xvid: Implement Preset interface
Sebastian Dröge [Mon, 4 May 2009 10:30:26 +0000 (12:30 +0200)]
faac: Implement preset interface
Vincent Genieux [Sun, 3 May 2009 16:42:44 +0000 (17:42 +0100)]
mpegtsparse: Ignore subtable extension when parsing PAT
Fixes #569673.
Vincent Genieux [Sun, 3 May 2009 16:21:22 +0000 (17:21 +0100)]
mpegtsparse: make safe changing the program-numbers property dynamically
Fixes #569437.
Mark Nauwelaerts [Sun, 3 May 2009 12:28:51 +0000 (14:28 +0200)]
mms: extend BaseSrc query handling rather than overriding
Mark Nauwelaerts [Mon, 27 Apr 2009 20:39:15 +0000 (22:39 +0200)]
baseparse: fix (regression in) newsegment handling
(aacparse, amrparse, flacparse). Fixes #580133.
Zaheer Merali [Sat, 2 May 2009 11:23:03 +0000 (12:23 +0100)]
dvbsrc: fix pes filter pid resetting
Tim-Philipp Müller [Fri, 1 May 2009 01:26:22 +0000 (02:26 +0100)]
dtsdec: cosmetic fix to header structure to make gtk-doc happy
Tim-Philipp Müller [Fri, 1 May 2009 13:25:40 +0000 (14:25 +0100)]
docs: make fpsdisplaysink show up in the docs
Tim-Philipp Müller [Fri, 1 May 2009 01:21:10 +0000 (02:21 +0100)]
fpsdisplaysink: move private struct into plugin struct and use Gst namespace
Tim-Philipp Müller [Fri, 1 May 2009 00:59:56 +0000 (01:59 +0100)]
fpsdisplaysink: rename plugin (not element) to debugutilsbad
Makes it easier to add further utils here without creating yet another plugin.