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:
Zebediah Figura 2021-02-19 20:34:59 -06:00 committed by Alexandre Julliard
parent 9638a5092e
commit 8abcae5475
8 changed files with 11 additions and 19 deletions

View File

@ -5,6 +5,8 @@ EXTRAINCL = $(GSTREAMER_CFLAGS)
EXTRALIBS = $(GSTREAMER_LIBS) $(PTHREAD_LIBS)
PARENTSRC = ../strmbase
EXTRADLLFLAGS = -mno-cygwin
C_SRCS = \
audioconvert.c \
filter.c \

View File

@ -17,9 +17,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "config.h"
#include <gst/gst.h>
#include "gst_private.h"
#include "mfapi.h"

View File

@ -25,9 +25,6 @@
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <gst/gst.h>
#include <gst/video/video.h>
#include <gst/audio/audio.h>
#define COBJMACROS
#define NONAMELESSSTRUCT

View File

@ -20,17 +20,16 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "config.h"
#include "gst_private.h"
#include "gst_guids.h"
#include "vfwmsgs.h"
#include "amvideo.h"
#include "wine/unicode.h"
#include "wine/debug.h"
#include <assert.h>
#include <limits.h>
#include "dvdmedia.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);
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))
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);
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))
return FALSE;
}

View File

@ -19,9 +19,9 @@
*/
#include "gst_private.h"
#include "winternl.h"
#include "rpcproxy.h"
#include "wine/debug.h"
#include "wine/unicode.h"
#include "initguid.h"
#include "gst_guids.h"

View File

@ -18,10 +18,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "config.h"
#include <gst/gst.h>
#include "gst_private.h"
#include <assert.h>
@ -1083,7 +1079,7 @@ static HRESULT media_source_constructor(IMFByteStream *bytestream, struct media_
{
IMFStreamDescriptor **descriptors = NULL;
struct media_source *object;
gint64 total_pres_time = 0;
UINT64 total_pres_time = 0;
struct wg_parser *parser;
DWORD bytestream_caps;
uint64_t file_size;

View File

@ -17,9 +17,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "config.h"
#include <gst/gst.h>
#include "gst_private.h"
#include <assert.h>

View File

@ -29,7 +29,11 @@
#define WIN32_NO_STATUS
#include "gst_private.h"
#include "winternl.h"
#include <assert.h>
#include <gst/gst.h>
#include <gst/video/video.h>
#include <gst/audio/audio.h>
WINE_DEFAULT_DEBUG_CHANNEL(gstreamer);