Skip to content

Commit

Permalink
Allowing png as content-type.
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Maus authored and abrasive committed Jul 1, 2014
1 parent cfab980 commit 3ad57f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rtsp.c
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ static void handle_set_parameter(rtsp_conn_info *conn,
debug(1, "received metadata tags in SET_PARAMETER request\n");

handle_set_parameter_metadata(conn, req, resp);
} else if (!strncmp(ct, "image/jpeg", 10)) {
} else if (!strncmp(ct, "image/jpeg", 10) || !strncmp(ct, "image/png", 9)) {
debug(1, "received image in SET_PARAMETER request\n");

handle_set_parameter_coverart(conn, req, resp);
Expand Down

0 comments on commit 3ad57f3

Please sign in to comment.