gst_plugins_good/gst/qtdemux/qtdemux.c
changeset 20 7e3786c5ed27
parent 16 8e837d1bf446
equal deleted inserted replaced
19:24ed0baaf8e5 20:7e3786c5ed27
  4795   int offset;
  4795   int offset;
  4796   int count;
  4796   int count;
  4797 
  4797 
  4798   /* re-route to normal string tag if not 3GP */
  4798   /* re-route to normal string tag if not 3GP */
  4799   if (!qtdemux_is_string_3gp (qtdemux, FOURCC_kywd))
  4799   if (!qtdemux_is_string_3gp (qtdemux, FOURCC_kywd))
  4800     return qtdemux_tag_add_str (qtdemux, tag, dummy, node);
  4800     {
       
  4801     	qtdemux_tag_add_str (qtdemux, tag, dummy, node);
       
  4802     	return ;
       
  4803     }
  4801 
  4804 
  4802   GST_DEBUG_OBJECT (qtdemux, "found 3gpp keyword tag");
  4805   GST_DEBUG_OBJECT (qtdemux, "found 3gpp keyword tag");
  4803 
  4806 
  4804   data = node->data;
  4807   data = node->data;
  4805 
  4808 
  5011   int type;
  5014   int type;
  5012   int n;
  5015   int n;
  5013 
  5016 
  5014   /* re-route to normal string tag if 3GP */
  5017   /* re-route to normal string tag if 3GP */
  5015   if (qtdemux_is_string_3gp (qtdemux, FOURCC_gnre))
  5018   if (qtdemux_is_string_3gp (qtdemux, FOURCC_gnre))
  5016     return qtdemux_tag_add_str (qtdemux, tag, dummy, node);
  5019 	{
       
  5020 		qtdemux_tag_add_str (qtdemux, tag, dummy, node);
       
  5021 		return;
       
  5022 	}
  5017 
  5023 
  5018   data = qtdemux_tree_get_child_by_type (node, FOURCC_data);
  5024   data = qtdemux_tree_get_child_by_type (node, FOURCC_data);
  5019   if (data) {
  5025   if (data) {
  5020     len = QT_UINT32 (data->data);
  5026     len = QT_UINT32 (data->data);
  5021     type = QT_UINT32 ((guint8 *) data->data + 8);
  5027     type = QT_UINT32 ((guint8 *) data->data + 8);