mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 08:17:01 +00:00
gst/level/gstlevel.c: use G_GINT64_CONSTANT for INT64 constants
Original commit message from CVS: * gst/level/gstlevel.c: (gst_level_set_caps),(gst_level_transform_ip): use G_GINT64_CONSTANT for INT64 constants * gst/videofilter/gstvideobalance.c: define rint for WIN32 #define rint(x) (floor((x)+0.5)) * win32/vs6/libgstavi.dsp: add missing libraries for the link and remove avimux.c from the project as it isn't ported to 0.10 yet
This commit is contained in:
parent
f66a4fbe55
commit
a48bb4f8f2
4 changed files with 19 additions and 12 deletions
10
ChangeLog
10
ChangeLog
|
@ -1,3 +1,13 @@
|
|||
2006-04-09 Sebastien Moutte <sebastien@moutte.net>
|
||||
|
||||
* gst/level/gstlevel.c: (gst_level_set_caps),(gst_level_transform_ip):
|
||||
use G_GINT64_CONSTANT for INT64 constants
|
||||
* gst/videofilter/gstvideobalance.c:
|
||||
define rint for WIN32 #define rint(x) (floor((x)+0.5))
|
||||
* win32/vs6/libgstavi.dsp:
|
||||
add missing libraries for the link and remove avimux.c from
|
||||
the project as it isn't ported to 0.10 yet
|
||||
|
||||
2006-04-09 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
* gst/matroska/ebml-read.c: (gst_ebml_read_sint):
|
||||
|
|
|
@ -322,7 +322,7 @@ gst_level_set_caps (GstBaseTransform * trans, GstCaps * in, GstCaps * out)
|
|||
for (i = 0; i < filter->channels; ++i) {
|
||||
filter->CS[i] = filter->peak[i] = filter->last_peak[i] =
|
||||
filter->decay_peak[i] = filter->decay_peak_base[i] = 0.0;
|
||||
filter->decay_peak_age[i] = 0L;
|
||||
filter->decay_peak_age[i] = G_GINT64_CONSTANT (0);
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
|
@ -509,7 +509,7 @@ gst_level_transform_ip (GstBaseTransform * trans, GstBuffer * in)
|
|||
GST_LOG_OBJECT (filter, "new peak, %f", filter->peak[i]);
|
||||
filter->decay_peak[i] = filter->peak[i];
|
||||
filter->decay_peak_base[i] = filter->peak[i];
|
||||
filter->decay_peak_age[i] = 0L;
|
||||
filter->decay_peak_age[i] = G_GINT64_CONSTANT (0);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -60,6 +60,10 @@
|
|||
#define M_PI 3.14159265358979323846
|
||||
#endif
|
||||
|
||||
#ifdef WIN32
|
||||
#define rint(x) (floor((x)+0.5))
|
||||
#endif
|
||||
|
||||
static GstElementDetails video_balance_details =
|
||||
GST_ELEMENT_DETAILS ("Video balance",
|
||||
"Filter/Effect/Video",
|
||||
|
|
|
@ -54,7 +54,8 @@ BSC32=bscmake.exe
|
|||
# ADD BSC32 /nologo
|
||||
LINK32=link.exe
|
||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386
|
||||
# ADD LINK32 libgstreamer-0.10.lib libgstbase-0.10.lib glib-2.0.lib gobject-2.0.lib /nologo /dll /machine:I386 /libpath:"../../../gstreamer/win32/vs6/release" /libpath:"./release"
|
||||
# ADD LINK32 libgstriff-0.10.lib libgstreamer-0.10.lib libgstbase-0.10.lib glib-2.0.lib gobject-2.0.lib /nologo /dll /machine:I386 /libpath:"../../../gstreamer/win32/vs6/release" /libpath:"./release" /libpath:"../../../gst-plugins-base/win32/vs6/release"
|
||||
# SUBTRACT LINK32 /incremental:yes
|
||||
# Begin Special Build Tool
|
||||
TargetPath=.\Release\libgstavi.dll
|
||||
SOURCE="$(InputPath)"
|
||||
|
@ -86,7 +87,7 @@ BSC32=bscmake.exe
|
|||
# ADD BSC32 /nologo
|
||||
LINK32=link.exe
|
||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept
|
||||
# ADD LINK32 libgstreamer-0.10.lib libgstbase-0.10.lib glib-2.0D.lib gobject-2.0D.lib /nologo /dll /debug /machine:I386 /pdbtype:sept /libpath:"../../../gstreamer/win32/vs6/debug" /libpath:"./debug"
|
||||
# ADD LINK32 libgstriff-0.10.lib libgstreamer-0.10.lib libgstbase-0.10.lib glib-2.0D.lib gobject-2.0D.lib /nologo /dll /debug /machine:I386 /pdbtype:sept /libpath:"../../../gstreamer/win32/vs6/debug" /libpath:"./debug" /libpath:"../../../gst-plugins-base/win32/vs6/debug"
|
||||
# Begin Special Build Tool
|
||||
TargetPath=.\Debug\libgstavi.dll
|
||||
SOURCE="$(InputPath)"
|
||||
|
@ -110,10 +111,6 @@ SOURCE=..\..\gst\avi\gstavi.c
|
|||
|
||||
SOURCE=..\..\gst\avi\gstavidemux.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\..\gst\avi\gstavimux.c
|
||||
# End Source File
|
||||
# End Group
|
||||
# Begin Group "Header Files"
|
||||
|
||||
|
@ -126,10 +123,6 @@ SOURCE="..\..\gst\avi\avi-ids.h"
|
|||
|
||||
SOURCE=..\..\gst\avi\gstavidemux.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\..\gst\avi\gstavimux.h
|
||||
# End Source File
|
||||
# End Group
|
||||
# Begin Group "Resource Files"
|
||||
|
||||
|
|
Loading…
Reference in a new issue