mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
gst: Remove obvious dead assignments
This commit is contained in:
parent
fce85f75ff
commit
ceb86a586e
4 changed files with 0 additions and 11 deletions
|
@ -368,12 +368,10 @@ static void
|
|||
gst_bin_class_init (GstBinClass * klass)
|
||||
{
|
||||
GObjectClass *gobject_class;
|
||||
GstObjectClass *gstobject_class;
|
||||
GstElementClass *gstelement_class;
|
||||
GError *err;
|
||||
|
||||
gobject_class = (GObjectClass *) klass;
|
||||
gstobject_class = (GstObjectClass *) klass;
|
||||
gstelement_class = (GstElementClass *) klass;
|
||||
|
||||
g_type_class_add_private (klass, sizeof (GstBinPrivate));
|
||||
|
|
|
@ -294,13 +294,10 @@ do_stop (GstBufferPool * pool)
|
|||
gboolean
|
||||
gst_buffer_pool_set_active (GstBufferPool * pool, gboolean active)
|
||||
{
|
||||
GstBufferPoolClass *pclass;
|
||||
gboolean res = TRUE;
|
||||
|
||||
g_return_val_if_fail (GST_IS_BUFFER_POOL (pool), FALSE);
|
||||
|
||||
pclass = GST_BUFFER_POOL_GET_CLASS (pool);
|
||||
|
||||
GST_LOG_OBJECT (pool, "active %d", active);
|
||||
|
||||
GST_BUFFER_POOL_LOCK (pool);
|
||||
|
|
|
@ -174,10 +174,8 @@ static void
|
|||
gst_element_class_init (GstElementClass * klass)
|
||||
{
|
||||
GObjectClass *gobject_class;
|
||||
GstObjectClass *gstobject_class;
|
||||
|
||||
gobject_class = (GObjectClass *) klass;
|
||||
gstobject_class = (GstObjectClass *) klass;
|
||||
|
||||
parent_class = g_type_class_peek_parent (klass);
|
||||
|
||||
|
|
|
@ -1482,10 +1482,6 @@ gst_base_sink_commit_state (GstBaseSink * basesink)
|
|||
switch (pending) {
|
||||
case GST_STATE_PLAYING:
|
||||
{
|
||||
GstBaseSinkClass *bclass;
|
||||
|
||||
bclass = GST_BASE_SINK_GET_CLASS (basesink);
|
||||
|
||||
GST_DEBUG_OBJECT (basesink, "commiting state to PLAYING");
|
||||
|
||||
basesink->need_preroll = FALSE;
|
||||
|
|
Loading…
Reference in a new issue