Searched refs:writemap (Results 1 – 1 of 1) sorted by relevance
1316 GstMapInfo sinfomap, writemap; in gst_flac_parse_handle_headers() local1324 gst_buffer_map (buf, &writemap, GST_MAP_WRITE); in gst_flac_parse_handle_headers()1326 writemap.data[0] = 0x7f; in gst_flac_parse_handle_headers()1327 memcpy (writemap.data + 1, "FLAC", 4); in gst_flac_parse_handle_headers()1328 writemap.data[5] = 0x01; /* mapping version major */ in gst_flac_parse_handle_headers()1329 writemap.data[6] = 0x00; /* mapping version minor */ in gst_flac_parse_handle_headers()1330 writemap.data[7] = (num & 0xFF00) >> 8; in gst_flac_parse_handle_headers()1331 writemap.data[8] = (num & 0x00FF) >> 0; in gst_flac_parse_handle_headers()1332 memcpy (writemap.data + 9, "fLaC", 4); in gst_flac_parse_handle_headers()1333 memcpy (writemap.data + 13, sinfomap.data, sinfomap.size); in gst_flac_parse_handle_headers()[all …]