summaryrefslogtreecommitdiffstats
path: root/templates/machine/wandboard/50_local.conf.inc
blob: 42f9e5f776c8b7608f6df9d16308be189d3cb46f (plain)
1
2
MACHINE = "wandboard"
font-weight: bold } /* Literal.Number.Hex */ .highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */ .highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */ .highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */ .highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */ }
commit f9536544f5ad182b4f78d0143d1daa45dd64e624
Author: Song Bing <b06498@freescale.com>
Date:   Thu Oct 9 17:37:43 2014 +0800

[gststreamsynchronizer] send EOS event insterd of GAP event as GAP
event has issue when A/V have different duration.
    
send EOS event insterd of GAP event as GAP event has issue when A/V have different duration.

Upstream-Status: Submitted [https://bugzilla.gnome.org/show_bug.cgi?id=736655]

Signed-off-by: Song Bing <b06498@freescale.com>

diff --git a/gst/playback/gststreamsynchronizer.c b/gst/playback/gststreamsynchronizer.c
index 3e17c55..ff42d72 100644
--- a/gst/playback/gststreamsynchronizer.c
+++ b/gst/playback/gststreamsynchronizer.c
@@ -488,19 +488,24 @@ gst_stream_synchronizer_sink_event (GstPad * pad, GstObject * parent,
         }
         g_slist_free (pads);
       } else {
-        /* if EOS, but no data has passed, then send EOS event */
+        /* if EOS, but no data has passed, then send something to replace EOS
+         * for preroll purposes */
         if (!seen_data) {
-          GstEvent *gap_event;
+          GstEvent *eos_event;
 
-          gap_event = gst_event_new_eos ();
-          ret = gst_pad_push_event (srcpad, gap_event);
+          /* FIXME: change to EOS event as GAP event has issue when A/V have
+           * different duration */
+          eos_event = gst_event_new_eos ();
+          ret = gst_pad_push_event (srcpad, eos_event);
         } else {
-          GstEvent *gap_event;
+          GstEvent *eos_event;
 
           /* FIXME: Also send a GAP event to let audio sinks start their
            * clock in case they did not have enough data yet */
-          gap_event = gst_event_new_gap (timestamp, GST_CLOCK_TIME_NONE);
-          ret = gst_pad_push_event (srcpad, gap_event);
+          /* FIXME: change to EOS event as GAP event has issue when A/V have
+           * different duration */
+          eos_event = gst_event_new_eos ();
+          ret = gst_pad_push_event (srcpad, eos_event);
         }
       }
       gst_object_unref (srcpad);