decodebin: Rename misleading variable is_parser_converter into is_parser
In that place, the variable isn't checking whether the element is a converter, only if it is a parser. https://bugzilla.gnome.org/show_bug.cgi?id=764948
This commit is contained in:
parent
bfcd0737b7
commit
9d96959dde
@ -2132,7 +2132,7 @@ connect_pad (GstDecodeBin * dbin, GstElement * src, GstDecodePad * dpad,
|
|||||||
gboolean subtitle;
|
gboolean subtitle;
|
||||||
GList *to_connect = NULL;
|
GList *to_connect = NULL;
|
||||||
GList *to_expose = NULL;
|
GList *to_expose = NULL;
|
||||||
gboolean is_parser_converter = FALSE;
|
gboolean is_parser = FALSE;
|
||||||
|
|
||||||
/* Set dpad target to pad again, it might've been unset
|
/* Set dpad target to pad again, it might've been unset
|
||||||
* below but we came back here because something failed
|
* below but we came back here because something failed
|
||||||
@ -2198,10 +2198,10 @@ connect_pad (GstDecodeBin * dbin, GstElement * src, GstDecodePad * dpad,
|
|||||||
* parser is the only one that does not change the data. A
|
* parser is the only one that does not change the data. A
|
||||||
* valid example for this would be multiple id3demux in a row.
|
* valid example for this would be multiple id3demux in a row.
|
||||||
*/
|
*/
|
||||||
is_parser_converter = strstr (gst_element_factory_get_metadata (factory,
|
is_parser = strstr (gst_element_factory_get_metadata (factory,
|
||||||
GST_ELEMENT_METADATA_KLASS), "Parser") != NULL;
|
GST_ELEMENT_METADATA_KLASS), "Parser") != NULL;
|
||||||
|
|
||||||
if (is_parser_converter) {
|
if (is_parser) {
|
||||||
gboolean skip = FALSE;
|
gboolean skip = FALSE;
|
||||||
GList *l;
|
GList *l;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user