projects
/
platform
/
upstream
/
gst-plugins-bad.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78ab2cd
)
uvch264src: Fix compiler warning when compiling with G_DISABLE_ASSERT
author
Sebastian Dröge
<sebastian@centricular.com>
Sun, 29 Jun 2014 18:13:10 +0000
(20:13 +0200)
committer
Sebastian Dröge
<sebastian@centricular.com>
Sun, 29 Jun 2014 18:13:10 +0000
(20:13 +0200)
sys/uvch264/gstuvch264_src.c
patch
|
blob
|
history
diff --git
a/sys/uvch264/gstuvch264_src.c
b/sys/uvch264/gstuvch264_src.c
index 1bf0e220f95ca97a77b187b1f8782af59c43e1bf..6c6047d184f47382cfb246a887aed5c079eb8c24 100644
(file)
--- a/
sys/uvch264/gstuvch264_src.c
+++ b/
sys/uvch264/gstuvch264_src.c
@@
-2728,6
+2728,8
@@
gst_uvc_h264_src_construct_pipeline (GstBaseCameraSrc * bcamsrc)
self->secondary_format = UVC_H264_SRC_FORMAT_RAW;
} else {
g_assert_not_reached ();
+ type = NONE_NONE;
+ self->main_format = UVC_H264_SRC_FORMAT_NONE;
}
} else {
type = NONE_NONE;