File tree 2 files changed +7
-3
lines changed
modules/javafx.media/src/main/native/gstreamer
gstreamer-lite/gstreamer/gst
2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -532,7 +532,11 @@ struct _GstDynamicTypeFactoryClass {
532
532
struct _GstClockEntryImpl
533
533
{
534
534
GstClockEntry entry ;
535
+ #if defined (GSTREAMER_LITE ) && defined(LINUX )
536
+ GWeakRef clock ;
537
+ #else // GSTREAMER_LITE
535
538
GWeakRef * clock ;
539
+ #endif // GSTREAMER_LITE
536
540
GDestroyNotify destroy_entry ;
537
541
gpointer padding [21 ]; /* padding for allowing e.g. systemclock
538
542
* to add data in lieu of overridable
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright (c) 2010, 2024 , Oracle and/or its affiliates. All rights reserved.
2
+ * Copyright (c) 2010, 2025 , Oracle and/or its affiliates. All rights reserved.
3
3
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4
4
*
5
5
* This code is free software; you can redistribute it and/or modify it
@@ -199,7 +199,7 @@ static void videodecoder_dispose(GObject* object)
199
199
{
200
200
VideoDecoder * decoder = VIDEODECODER (object );
201
201
202
- basedecoder_close_decoder (decoder );
202
+ basedecoder_close_decoder (BASEDECODER ( decoder ) );
203
203
204
204
G_OBJECT_CLASS (parent_class )-> dispose (object );
205
205
}
@@ -545,7 +545,7 @@ static gboolean videodecoder_convert_frame(VideoDecoder *decoder)
545
545
return FALSE;
546
546
547
547
int ret = decoder -> sws_scale_func (decoder -> sws_context ,
548
- base -> frame -> data ,
548
+ ( const uint8_t * const * ) base -> frame -> data ,
549
549
base -> frame -> linesize ,
550
550
0 ,
551
551
base -> frame -> height ,
You can’t perform that action at this time.
0 commit comments