Commit 27c702f5 authored by Wim Taymans's avatar Wim Taymans
Browse files

Don't use v4lsrc before initializing it.

Original commit message from CVS:
Don't use v4lsrc before initializing it.
parent 7774b745
......@@ -178,10 +178,12 @@ gst_v4lsrc_srcconnect (GstPad *pad,
{
GstV4lSrc *v4lsrc;
GstCaps *caps, *newcaps;
gint palette = v4lsrc->palette;
gint palette;
v4lsrc = GST_V4LSRC (gst_pad_get_parent (pad));
palette = v4lsrc->palette;
/* TODO: caps = gst_caps_normalize(capslist); */
for (caps = vscapslist ; caps != NULL ; caps = vscapslist = vscapslist->next)
{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment