projects
/
platform
/
upstream
/
gst-plugins-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7774b74
)
Don't use v4lsrc before initializing it.
author
Wim Taymans
<wim.taymans@gmail.com>
Sun, 20 Jan 2002 12:27:11 +0000
(12:27 +0000)
committer
Wim Taymans
<wim.taymans@gmail.com>
Sun, 20 Jan 2002 12:27:11 +0000
(12:27 +0000)
Original commit message from CVS:
Don't use v4lsrc before initializing it.
sys/v4l/gstv4lsrc.c
patch
|
blob
|
history
diff --git
a/sys/v4l/gstv4lsrc.c
b/sys/v4l/gstv4lsrc.c
index
4eb9874
..
2915588
100644
(file)
--- a/
sys/v4l/gstv4lsrc.c
+++ b/
sys/v4l/gstv4lsrc.c
@@
-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)
{