mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Reference in a new issue