winegstreamer: Build with msvcrt.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
9638a5092e
commit
8abcae5475
|
@ -5,6 +5,8 @@ EXTRAINCL = $(GSTREAMER_CFLAGS)
|
||||||
EXTRALIBS = $(GSTREAMER_LIBS) $(PTHREAD_LIBS)
|
EXTRALIBS = $(GSTREAMER_LIBS) $(PTHREAD_LIBS)
|
||||||
PARENTSRC = ../strmbase
|
PARENTSRC = ../strmbase
|
||||||
|
|
||||||
|
EXTRADLLFLAGS = -mno-cygwin
|
||||||
|
|
||||||
C_SRCS = \
|
C_SRCS = \
|
||||||
audioconvert.c \
|
audioconvert.c \
|
||||||
filter.c \
|
filter.c \
|
||||||
|
|
|
@ -17,9 +17,6 @@
|
||||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
#include <gst/gst.h>
|
|
||||||
|
|
||||||
#include "gst_private.h"
|
#include "gst_private.h"
|
||||||
|
|
||||||
#include "mfapi.h"
|
#include "mfapi.h"
|
||||||
|
|
|
@ -25,9 +25,6 @@
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <gst/gst.h>
|
|
||||||
#include <gst/video/video.h>
|
|
||||||
#include <gst/audio/audio.h>
|
|
||||||
|
|
||||||
#define COBJMACROS
|
#define COBJMACROS
|
||||||
#define NONAMELESSSTRUCT
|
#define NONAMELESSSTRUCT
|
||||||
|
|
|
@ -20,17 +20,16 @@
|
||||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
#include "gst_private.h"
|
#include "gst_private.h"
|
||||||
#include "gst_guids.h"
|
#include "gst_guids.h"
|
||||||
|
|
||||||
#include "vfwmsgs.h"
|
#include "vfwmsgs.h"
|
||||||
#include "amvideo.h"
|
#include "amvideo.h"
|
||||||
|
|
||||||
#include "wine/unicode.h"
|
|
||||||
#include "wine/debug.h"
|
#include "wine/debug.h"
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
#include <limits.h>
|
||||||
|
|
||||||
#include "dvdmedia.h"
|
#include "dvdmedia.h"
|
||||||
#include "mmreg.h"
|
#include "mmreg.h"
|
||||||
|
@ -1016,7 +1015,7 @@ static BOOL decodebin_parser_filter_init_gst(struct parser *filter)
|
||||||
stream_count = unix_funcs->wg_parser_get_stream_count(parser);
|
stream_count = unix_funcs->wg_parser_get_stream_count(parser);
|
||||||
for (i = 0; i < stream_count; ++i)
|
for (i = 0; i < stream_count; ++i)
|
||||||
{
|
{
|
||||||
sprintfW(source_name, formatW, i);
|
swprintf(source_name, ARRAY_SIZE(source_name), formatW, i);
|
||||||
if (!create_pin(filter, unix_funcs->wg_parser_get_stream(parser, i), source_name))
|
if (!create_pin(filter, unix_funcs->wg_parser_get_stream(parser, i), source_name))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
@ -1677,7 +1676,7 @@ static BOOL avi_splitter_filter_init_gst(struct parser *filter)
|
||||||
stream_count = unix_funcs->wg_parser_get_stream_count(parser);
|
stream_count = unix_funcs->wg_parser_get_stream_count(parser);
|
||||||
for (i = 0; i < stream_count; ++i)
|
for (i = 0; i < stream_count; ++i)
|
||||||
{
|
{
|
||||||
sprintfW(source_name, formatW, i);
|
swprintf(source_name, ARRAY_SIZE(source_name), formatW, i);
|
||||||
if (!create_pin(filter, unix_funcs->wg_parser_get_stream(parser, i), source_name))
|
if (!create_pin(filter, unix_funcs->wg_parser_get_stream(parser, i), source_name))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,9 +19,9 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "gst_private.h"
|
#include "gst_private.h"
|
||||||
|
#include "winternl.h"
|
||||||
#include "rpcproxy.h"
|
#include "rpcproxy.h"
|
||||||
#include "wine/debug.h"
|
#include "wine/debug.h"
|
||||||
#include "wine/unicode.h"
|
|
||||||
|
|
||||||
#include "initguid.h"
|
#include "initguid.h"
|
||||||
#include "gst_guids.h"
|
#include "gst_guids.h"
|
||||||
|
|
|
@ -18,10 +18,6 @@
|
||||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
|
|
||||||
#include <gst/gst.h>
|
|
||||||
|
|
||||||
#include "gst_private.h"
|
#include "gst_private.h"
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
@ -1083,7 +1079,7 @@ static HRESULT media_source_constructor(IMFByteStream *bytestream, struct media_
|
||||||
{
|
{
|
||||||
IMFStreamDescriptor **descriptors = NULL;
|
IMFStreamDescriptor **descriptors = NULL;
|
||||||
struct media_source *object;
|
struct media_source *object;
|
||||||
gint64 total_pres_time = 0;
|
UINT64 total_pres_time = 0;
|
||||||
struct wg_parser *parser;
|
struct wg_parser *parser;
|
||||||
DWORD bytestream_caps;
|
DWORD bytestream_caps;
|
||||||
uint64_t file_size;
|
uint64_t file_size;
|
||||||
|
|
|
@ -17,9 +17,6 @@
|
||||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
#include <gst/gst.h>
|
|
||||||
|
|
||||||
#include "gst_private.h"
|
#include "gst_private.h"
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
|
|
@ -29,7 +29,11 @@
|
||||||
#define WIN32_NO_STATUS
|
#define WIN32_NO_STATUS
|
||||||
#include "gst_private.h"
|
#include "gst_private.h"
|
||||||
#include "winternl.h"
|
#include "winternl.h"
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
#include <gst/gst.h>
|
||||||
|
#include <gst/video/video.h>
|
||||||
|
#include <gst/audio/audio.h>
|
||||||
|
|
||||||
WINE_DEFAULT_DEBUG_CHANNEL(gstreamer);
|
WINE_DEFAULT_DEBUG_CHANNEL(gstreamer);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue