projects
/
platform
/
upstream
/
nnstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b690ae0
)
[Decoder] Mode may be unknown with get-property
author
MyungJoo Ham
<myungjoo.ham@samsung.com>
Wed, 7 Nov 2018 07:38:21 +0000
(16:38 +0900)
committer
MyungJoo Ham
<myungjoo.ham@gmail.com>
Thu, 8 Nov 2018 02:46:22 +0000
(11:46 +0900)
If we are using GUI tools or dynamic pipelines,
the initial state may be unknown when a process
probes its mode or states.
Fixes the first subissue of #700
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
gst/tensor_decoder/tensordec.c
patch
|
blob
|
history
diff --git
a/gst/tensor_decoder/tensordec.c
b/gst/tensor_decoder/tensordec.c
index
066181e
..
7751400
100644
(file)
--- a/
gst/tensor_decoder/tensordec.c
+++ b/
gst/tensor_decoder/tensordec.c
@@
-664,7
+664,6
@@
gst_tensordec_get_property (GObject * object, guint prop_id,
g_value_set_boolean (value, self->silent);
break;
case PROP_MODE:
- g_assert (self->mode < DECODE_MODE_UNKNOWN);
g_value_set_string (value, mode_names[self->mode]);
break;
case PROP_MODE_OPTION1: