diff options
Diffstat (limited to 'extras/recipes-ti/gstreamer-ti/gstreamer-ti/0005-Enable-setting-the-framerate-directly-on-DM365.patch')
-rw-r--r-- | extras/recipes-ti/gstreamer-ti/gstreamer-ti/0005-Enable-setting-the-framerate-directly-on-DM365.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/extras/recipes-ti/gstreamer-ti/gstreamer-ti/0005-Enable-setting-the-framerate-directly-on-DM365.patch b/extras/recipes-ti/gstreamer-ti/gstreamer-ti/0005-Enable-setting-the-framerate-directly-on-DM365.patch new file mode 100644 index 00000000..e4059577 --- /dev/null +++ b/extras/recipes-ti/gstreamer-ti/gstreamer-ti/0005-Enable-setting-the-framerate-directly-on-DM365.patch | |||
@@ -0,0 +1,33 @@ | |||
1 | From 1cffa12c9ceb07558d2e4b35cc674070c7a3b8ee Mon Sep 17 00:00:00 2001 | ||
2 | From: Don Darling <don.osc2@gmail.com> | ||
3 | Date: Thu, 26 Aug 2010 18:27:50 -0500 | ||
4 | Subject: [PATCH 5/8] Enable setting the framerate directly on DM365. | ||
5 | |||
6 | This is supported by recent changes to the display driver. DM365 will no | ||
7 | longer use the "repeat_with_refresh" method to display frames more than once. | ||
8 | --- | ||
9 | .../ticodecplugin/src/gsttidmaivideosink.c | 7 ++----- | ||
10 | 1 files changed, 2 insertions(+), 5 deletions(-) | ||
11 | |||
12 | diff --git a/gstreamer_ti/ti_build/ticodecplugin/src/gsttidmaivideosink.c b/gstreamer_ti/ti_build/ticodecplugin/src/gsttidmaivideosink.c | ||
13 | index 1d04e1c..3615bfd 100644 | ||
14 | --- a/gstreamer_ti/ti_build/ticodecplugin/src/gsttidmaivideosink.c | ||
15 | +++ b/gstreamer_ti/ti_build/ticodecplugin/src/gsttidmaivideosink.c | ||
16 | @@ -475,12 +475,9 @@ static void gst_tidmaivideosink_init(GstTIDmaiVideoSink * dmaisink, | ||
17 | g_assert(GST_VALUE_HOLDS_FRACTION(&dmaisink->oattrs.framerate)); | ||
18 | gst_value_set_fraction(&dmaisink->oattrs.framerate, 0, 1); | ||
19 | |||
20 | - /* On DM365, we don't have the bandwidth to copy a frame multiple times to | ||
21 | - * display them more than once. We must put a frame to the display once | ||
22 | - * and let it be refreshed multiple times. | ||
23 | - */ | ||
24 | + /* DM365 supports setting the display framerate */ | ||
25 | #if defined(Platform_dm365) | ||
26 | - dmaisink->repeat_with_refresh = TRUE; | ||
27 | + dmaisink->can_set_display_framerate = TRUE; | ||
28 | #endif | ||
29 | |||
30 | gst_tidmaivideosink_init_env(dmaisink); | ||
31 | -- | ||
32 | 1.7.0.4 | ||
33 | |||