mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
- backported the xml load bug in the properties
Original commit message from CVS: - backported the xml load bug in the properties - backported the videosink bug - make sure the regiontype is set to NONE after a getregion - an ugly fix (copy the chainfunction outselves) to make the avidecoder work again.
This commit is contained in:
parent
cf94838ea0
commit
1a66e83975
3 changed files with 4 additions and 1 deletions
|
@ -578,7 +578,7 @@ gst_props_load_thyself_func (xmlNodePtr field)
|
|||
prop = xmlGetProp (field, "min");
|
||||
sscanf (prop, "%d", &entry->data.int_range_data.min);
|
||||
g_free (prop);
|
||||
prop = xmlGetProp (field, "min");
|
||||
prop = xmlGetProp (field, "max");
|
||||
sscanf (prop, "%d", &entry->data.int_range_data.max);
|
||||
g_free (prop);
|
||||
}
|
||||
|
|
|
@ -105,6 +105,7 @@ gst_bin_src_wrapper (int argc,char *argv[])
|
|||
// fprintf(stderr,"error, no getregionfunc in \"%s\"\n", name);
|
||||
// else
|
||||
buf = (GST_RPAD_GETREGIONFUNC(realpad))((GstPad*)realpad,realpad->regiontype,realpad->offset,realpad->len);
|
||||
realpad->regiontype = GST_REGION_NONE;
|
||||
} else {
|
||||
g_return_val_if_fail (GST_RPAD_GETFUNC(realpad) != NULL, 0);
|
||||
// if (GST_RPAD_GETFUNC(realpad) == NULL)
|
||||
|
|
|
@ -412,6 +412,8 @@ gst_media_play_frame_displayed (GstPlay *play,
|
|||
size = gst_play_get_media_size (play);
|
||||
current_offset = gst_play_get_media_offset (play);
|
||||
|
||||
//g_print ("%lu %lu %lu %lu\n", current_time, total_time, size, current_offset);
|
||||
|
||||
if (current_time != mplay->last_time) {
|
||||
gdk_threads_enter ();
|
||||
gst_media_play_update_status_area (mplay, current_time, total_time);
|
||||
|
|
Loading…
Reference in a new issue