diff --git a/gst/elements/gstfilesrc.c b/gst/elements/gstfilesrc.c index d26190edab..a1b8dd54b2 100644 --- a/gst/elements/gstfilesrc.c +++ b/gst/elements/gstfilesrc.c @@ -537,7 +537,7 @@ gst_filesrc_get (GstPad *pad) region.offset = src->curoffset; region.size = readsize; map = g_tree_search (src->map_regions, - (GSearchFunc) gst_filesrc_search_region_match, + (GCompareFunc) gst_filesrc_search_region_match, ®ion); // if we found an exact match, subbuffer it diff --git a/plugins/elements/gstfilesrc.c b/plugins/elements/gstfilesrc.c index d26190edab..a1b8dd54b2 100644 --- a/plugins/elements/gstfilesrc.c +++ b/plugins/elements/gstfilesrc.c @@ -537,7 +537,7 @@ gst_filesrc_get (GstPad *pad) region.offset = src->curoffset; region.size = readsize; map = g_tree_search (src->map_regions, - (GSearchFunc) gst_filesrc_search_region_match, + (GCompareFunc) gst_filesrc_search_region_match, ®ion); // if we found an exact match, subbuffer it