h264parse: reset internal 'state' variable properly
Reset the internal 'state' variable when the parser is started, fixes errors when parser is being re-used. https://bugzilla.gnome.org/show_bug.cgi?id=794537
This commit is contained in:
parent
1b3b3677cc
commit
8e3827b7be
@ -267,6 +267,7 @@ gst_h264_parse_start (GstBaseParse * parse)
|
||||
|
||||
h264parse->nalparser = gst_h264_nal_parser_new ();
|
||||
|
||||
h264parse->state = 0;
|
||||
h264parse->dts = GST_CLOCK_TIME_NONE;
|
||||
h264parse->ts_trn_nb = GST_CLOCK_TIME_NONE;
|
||||
h264parse->sei_pic_struct_pres_flag = FALSE;
|
||||
|
Loading…
x
Reference in New Issue
Block a user