mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-26 10:10:32 +00:00
Change some types to match their prototypes
Particularly note that the underlying integer type of the enum GstTypeFindProbability is implementation dependent and may not match guint. https://bugzilla.gnome.org/show_bug.cgi?id=774293
This commit is contained in:
parent
b876b9fbba
commit
5a72c23a54
3 changed files with 4 additions and 6 deletions
|
@ -501,7 +501,7 @@ GstEvent * gst_event_new_select_streams (GList *streams);
|
|||
void gst_event_parse_select_streams (GstEvent *event, GList **streams);
|
||||
|
||||
/* stream-group-done event */
|
||||
GstEvent * gst_event_new_stream_group_done (const guint group_id) G_GNUC_MALLOC;
|
||||
GstEvent * gst_event_new_stream_group_done (guint group_id) G_GNUC_MALLOC;
|
||||
void gst_event_parse_stream_group_done (GstEvent *event, guint *group_id);
|
||||
|
||||
/* EOS event */
|
||||
|
|
|
@ -134,7 +134,7 @@ SetThreadName (DWORD dwThreadID, LPCSTR szThreadName)
|
|||
|
||||
__try {
|
||||
RaiseException (0x406D1388, 0, sizeof (info) / sizeof (DWORD),
|
||||
(DWORD *) & info);
|
||||
(const ULONG_PTR *) &info);
|
||||
}
|
||||
__except (EXCEPTION_CONTINUE_EXECUTION) {
|
||||
}
|
||||
|
|
|
@ -217,8 +217,7 @@ map_failed:
|
|||
* If given @probability is higher, replace previously store caps.
|
||||
*/
|
||||
static void
|
||||
helper_find_suggest (gpointer data, GstTypeFindProbability probability,
|
||||
GstCaps * caps)
|
||||
helper_find_suggest (gpointer data, guint probability, GstCaps * caps)
|
||||
{
|
||||
GstTypeFindHelper *helper = (GstTypeFindHelper *) data;
|
||||
|
||||
|
@ -462,8 +461,7 @@ buf_helper_find_peek (gpointer data, gint64 off, guint size)
|
|||
* If given @probability is higher, replace previously store caps.
|
||||
*/
|
||||
static void
|
||||
buf_helper_find_suggest (gpointer data, GstTypeFindProbability probability,
|
||||
GstCaps * caps)
|
||||
buf_helper_find_suggest (gpointer data, guint probability, GstCaps * caps)
|
||||
{
|
||||
GstTypeFindBufHelper *helper = (GstTypeFindBufHelper *) data;
|
||||
|
||||
|
|
Loading…
Reference in a new issue